chapter03-1
str1 = "Python"
str2 = 'Anaconda'
bool = True
float = 10.0
int = 7
list = [str1, str2]
dict = {
"name" : "Machine Learning",
"version" : 2.0
#key, value
}
tuple1 = (7, 8, 9)
tuple2 = 7, 8, 9
set = {7, 8, 9}
a = 3.
b = 6
c = .7
d = 12.7
float(b) # 6.0
int(c) # 0
int(d) # 12
int(True) # 1 / False : 0
float(False) # 0.0
complex(3) # (3+0j)
complex('3') # (3+0j)
complex(False) # 0j
abs(-7) # 7
x, y = divmod(100, 8) # x = 12, y = 4
pow(5,3) # 125
5 ** 3 # 125
import math
print(math.pi) # 3.14159265358393
print(math.ceil(5.1)) # x 이상의 수 중에서 가장 작은 정수 = 6