Python Data TypesTypeExampleint10, -5, 0float3.14, -2.5str"Hello", 'World'boolTrue, Falselist[1, 2, 3]tuple(1, 2, 3)dict{"a": 1}set{1, 2, 3}Type Functionstype(10) # <class 'int'>\ntype("hello") # <class 'str'>\nint("25") # String to int\nstr(100) # Int to string\nfloat("3.14") # String to floatComments# Single-line comment\n""" Multi-line\ncomment """