[python] add bit positions
[python] add lowercase
[python] add sum of digits