Am 08/18/2016 um 02:58 PM schrieb ast: >>>> 123.bit_length() > SyntaxError: invalid syntax You are not calling a method here because the parser is not finished. The parser thinks you want to write a float with the value 1.bit_length which is not valid Python syntax. Lutz