int_data = 1 + 1
print(int_data, type(int_data))
float_data = 2.2
print(float_data, type(float_data))
complex_data = 1 + 2j
print(complex_data, type(complex_data))
str_data = """ abc"""
print(str_data, type(str_data))
data = None
print(data, type(data))
bool_data = True
print(bool_data, type(bool_data))
bytes_data = b'123'
print(bytes_data, type(bytes_data))
tuple_data = (1, 2.2, 1+2j, True, None, b'123')
print_data = (tuple_data, type(tuple_data))
int_data = int(1)
print(int_data, type(int_data))
float_data = float(2.2)
print_data(float_data, type(float_data))
complex_data = complex(1, 2)
str_data = str('''abc''')
print(str_data, type(str_data))
data = None()
print(data, type(data))
bool_data = bool(True)
print(bool_data, type(bool_data))
bytes_data = bytes(b'123')
tuple_data = tuple(1, 2.2, (1, 2), True, None, b'123')
tuple_data = tuple()
print(tuple_data, type(tuple_data))
tuple_data = tuple('qwer')
print(tuple_data, type(tuple_data))
"""
按ctrl + 鼠标
help()
help(bytes)
"""
|