Formatting floats | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Formatting floats

can someone explain this https://code.sololearn.com/cbBEBr35yIX7/?ref=app

24th Jun 2018, 1:21 PM
Kesava N
Kesava N - avatar
1 Answer
+ 1
Not sure what you’re specifically asking to be explained, but the 0:b changes the number into binary form where each digit is a power of 0, and the 0:e changes it to scientific notation, where 1e5 would represent 1 *(10^5)
25th Jun 2018, 8:25 PM
Bryce Parkman
Bryce Parkman - avatar