home
Learn
screen_rotation
a = "Hello World" b = 20 c = 20.5 d = 1j e = ["apple", "banana", "cherry"] f = ("apple", "banana", "cherry") g = range(6) h = {"name" : "Kapil", "age" : 21} i = {"apple", "banana", "cherry"} j = frozenset({"apple", "banana", "cherry"}) k = True l = b"Hello" m = bytearray(5) n = memoryview(bytes(5)) o = None print(type(a)) print(type(b)) print(type(c)) print(type(d)) print(type(e)) print(type(f)) print(type(g)) print(type(h)) print(type(i)) print(type(j)) print(type(k)) print(type(l)) print(type(m)) print(type(n)) print(type(o))
Program Output