fix
This commit is contained in:
1 parent
a6308c5985
commit
eb8e64d54e
1 file changed
+1
-1
@@ -29,7 +29,7 @@ print("%.2f" % a)
|
|||||||
```py
|
```py
|
||||||
a=10
|
a=10
|
||||||
b=3
|
b=3
|
||||||
print(".2f" % a/b) # 这里是错误的❌
|
print("%.2f" % a/b) # 这里是错误的❌
|
||||||
```
|
```
|
||||||
|
|
||||||
可以改成:
|
可以改成:
|
||||||
|
|||||||
Reference in new issue
Block a user