2.5.2 Number Data Type
The number data type stores an integer or real number. Let us print using the print statement. If you list multiple values separated by commas (,) in the print statement, as shown in the example below, each value will be displayed separated by a space.
Inside the system, integers and real numbers are processed separately. Each data size is as follows:
Data type
Data size (byte)
Integer
4
Real number
8
Last updated
Was this helpful?