b = 3.12print(len(str(b)))print(len(repr(3.1415))) #https://pt.stackoverflow.com/q/106882/101
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!