+ 1
It's a simple question
Hi, could anyone tell me how to write the format number into the scientific notation in the code playground? I tried to get output like this way print ("{;e}".format(1230)) Here I want to find the decimal point.
4 Answers
+ 6
it's : not ;
print("{:e}".format(1230))
you can also try f-string
print(f"{1230:e}")
+ 1
Robin Marma ,
Please add a python tag.
0
Can anyone help me with my project. Just one question c++ language. Contact me ASAP 0169321197
0
Azrian shafiq ,
Start a new thread. Include a c++ tag or cpp tag or both. Paste a link to your saved code, so people can open it in the playground and run it. State the problem. Maybe people will post answers.