a = 120
type(a)
int
int →integer の略 integer ... 整数
b = 5.3
type(b)
float
c = 45j
type(c)
complex
d = "松尾"
type(d)
str
f = True
type(f)
bool
bool = boolean boolean ... 論理型
e = [10,20,30]
type(e)
list
g = {}
type(g)
dict
dict = dictionary dictionary ... 辞書
r = ()
type(r)
tuple