cara mengonversi tipe data ke yang lain

x = "3"
int(x)

y = "2.6"
float(y)

z = "1j"
complex(z)

print(typeof(x))
# Int
# float
# complex
The Cat Coder