a = 1.24124125125125125print(round(a, 4))
Standard input is empty
1.2412
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!