Different Data Types
By Georgia rae sterling - grant
What is a variable?
>>> first_name = "georgia rae"
>>> surname = " sterling grant"
Once I have write that in it means "georgia rae" + " sterling grant" is stored.
>>> print first_name + surname
georgia rae sterling grant
The command asked was to print: add the first name and the surname together to make the full name.
What is a string?
That would be called a spring.
What is a integer?
This number can be printed, added, subtracted and divided also by a integer.
What is a float?
This number can also be printed, added, subtracted and divided.