b = 3.12print(len(str(b)))print(len(repr(3.1415)))
Standard input is empty
4 6
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!