Lesson 7 of 62 ยท about 10 minutes
Numbers and Maths ๐ข
Numbers and Maths ๐ข Operators print(7 + 3) # 10 print(7 - 3) # 4 print(7 * 3) # 21 print(7 / 2) # 3.5 (always a float) print(7 // 2) # 3 (floor division) print(7 % 2) # 1 (remainder) print(2 ** 10) # 1024 (power) Handy built-ins print(round(3.14159, 2)) #โฆ
โถ Watch the video for lesson 7
The video lesson is a free preview.
This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.