Promptles
Programming Basics

Data Type

beginner

Definition

The kind of value a piece of data is, such as text, a number, true or false, or a list, which decides what you can do with it.

In the wild

A price saved as the text "4.50" can't be added to other prices until it's turned into the number 4.50.

More from Programming Basics