import math
print(7 // 2) #商3
print(7 % 2) #余り1
pie = 3.1415
print(round(pie,2)) #3.14
print(math.sqrt(25)) #5.0
print(math.log2(10)) #3.321928094887362
print(help(math)) #関数やライブラリのドキュメント見れます。
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme