15.5k views
5 votes
It would be a lot simpler if there were only one type of variable, but programming languages such as Python have multiple types. Why do you think this is.

1 Answer

5 votes
The types of data that are held in a variable are: String, Integer, float, complex, tuple, list, range, dict, set, frozenset, bool, bytes, bytearray, memoryview, and Nonetype
User WSC
by
4.5k points