# casting tipe data
# merubah tipe data dari data tertentu ke tipe data yang kita inginkan

# INTEGER
print("====++++INTEGER++++====")
data_int = 10

data_str = str(data_int)
data_float = float(data_int)
data_bool = bool(data_int)

print ("data =", data_int,",type =", type(data_int))
print ("data =", data_str,",type =", type(data_str))
print ("data =", data_float,",type =", type(data_float))
print ("data =", data_bool,",type =", type(data_bool))

# FLOAT
print("====++++INTEGER++++====")
data_float = 1.5

data_str = str(data_float)
data_int = int(data_float)
data_bool = bool(data_float)

print ("data =", data_int,",type =", type(data_int))
print ("data =", data_str,",type =", type(data_str))
print ("data =", data_float,",type =", type(data_float))
print ("data =", data_bool,",type =", type(data_bool))

# BOLEAN
print("====++++INTEGER++++====")
data_bool = True

data_str = str(data_bool)
data_int = int(data_bool)
data_float = float(data_bool)

print ("data =", data_int,",type =", type(data_int))
print ("data =", data_str,",type =", type(data_str))
print ("data =", data_float,",type =", type(data_float))
print ("data =", data_bool,",type =", type(data_bool))