Learning Python 03

python

Number

Link to my github (This is learning code.)

print(2)
print(2.052641)
print(-2.052641)
print(5/10)
print(3 + 5.5)
print(3 - 2.5)
print(3 * 2.5)
print(3 * (2 + 4))
print(10 % 3)
print(10 / 3)

my_num = 5
print(my_num)
print(str(my_num) + " haha")
my_num2 = -2
print(abs(my_num))
print(abs(my_num2))
print(pow(4,2))  # 4^2
print(3**4) # 3^4  81
print(min(4,2))
print(max(4,2))
print(round(5.2))
print(round(5.7))
print(float(5.7))

print("-----------------")
from math import *

print(ceil(5.7))
print(sqrt(81))

Link To Mike Dane YouTuBe