Why programs need data types
Why programs need data types
In a high-level language such as Python, a program stores values in variables like score = 10 or name = "Alex". A data type tells the program what kind of value is stored and what operations make sense for it.