My issue
Given variables
a = 5
b = 3.14
c = “Hello, World!”
d = True
e = [1, 2, 3, 4]
f = (5, 6, 7, 8)
g = {9, 10, 11, 12}
h = {“name”: “Alice”, “age”: 25}
i = None
Printing types of variables
print(type(a)) # int
print(type(b)) # float
print(type(c)) # str
print(type(d)) # bool
print(type(e)) # list
print(type(f)) # tuple
print(type(g)) # set
print(type(h)) # dict
print(type(i)) # NoneType
My code
# Given variables
a = 5
b = 3.14
c = "Hello, World!"
d = True
e = [1, 2, 3, 4]
f = (5, 6, 7, 8)
g = {9, 10, 11, 12}
h = {"name": "Alice", "age": 25}
i = None
# Printing types of variables
print(type(a)) # int
print(type(b)) # float
print(type(c)) # str
print(type(d)) # bool
print(type(e)) # list
print(type(f)) # tuple
print(type(g)) # set
print(type(h)) # dict
print(type(i)) # NoneType
Learning course: Learn Python Programming
Problem Link: https://www.codechef.com/learn/course/rcpit-python/RCPITPY07/problems/PYTHCL25B