We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 71b1899 + 2c3443e commit eab0a8fCopy full SHA for eab0a8f
python/02-Input-Output.md
@@ -58,7 +58,7 @@ print("My name is " + name) # >>> My name is : cheetah
58
#### Printing out `float` values
59
60
```Python
61
-average = 10.5782
62
-print("average is %.2f"%(var)) # >>> average is 10.57
+var = 10.5782
+print("average is %.2f"%(var)) # >>> average is 10.58
63
print("now average is %.6f"%var) # >>> now average is 10.578200
64
```
0 commit comments