python3.6.2 tag

2 questions


1 answers
109 views
0
To express '%.2f' using format() only

Use the following code as a way to express the entered mistakes up to 2 decimal places. a = float(input())print('%.2f' % a)However, I don't know how to write only the format() function with % without ...

1 years ago

1 answers
97 views
0
[python 3.x] Module is clearly installed, but the module is not found.

absl-py (0.1.12)astor (0.6.2)bleach (1.5.0)gast (0.2.0)grpcio (1.10.0)html5lib (0.9999999)Markdown (2.6.11)numpy (1.14.2)pip (9.0.1)protobuf (3.5.2.post1)setuptools (39.0.1)six (1.11.0)tensorboard (1....


© 2024 OneMinuteCode. All rights reserved.