x=1 y=1.1 z=56j # complex number cant be converted in other a=float(x) b=int(y) c=complex(x) print(a) print(b) print(c) print(type(a)) print(type(b)) print(type(c)) print(x) print(y) print(z) # for random number import random print(random.randrange(1, 10))