Python Data Types x1 = "Hello World" x2 = 20 x3 = 20.5 x4 = 1j x5 = True print("String : ", x1) print("Integer : ", x2) print("Float : ", x3) print("Complex : ", x4) print("Bool : ", x5) Output String : Hello World Integer : 20 Float : 20.5 Complex : 1j x6 = ["apple", "banana", "cherry"] x7= ("apple", "banana", "cherry") x8 = range(6) x9= {"name" : “Ajay", "age" : 36} x10= {"apple", "banana", "cherry"} print("List : ", x6) print("Tuple : ", x7) print("Range : ", x8) print("Dictionary : ", x9) print("Set : ", x10) Output List : ['apple', 'banana', 'cherry'] Tuple : ('apple', 'banana', 'cherry') Range : range(0, 6) Dictionary : {'name': ‘Ajay', 'age': 36} Set : {'banana', 'apple', 'cherry‘} National Institute of Electronics & Information Technology Ministry of Electronics & Information Technology ( MeitY ), Government of India Gorakhpur Center