Numbers such as 1,2,3,99
Characters such as 'nfakjd34'
Stores True or False values
Stores DECIMAL numbers
print(type(12)) #returns int print(type('number')) #returns str print(type(12.08)) #returns float #boolean adult = True print(type(adult)) # returns bool
Same variable can change types
Last updated 4 years ago
adult = True pass # extra code adult = 5 print(type(adult)) # returns int eventhough adult started as bool