Basics of variables

Variables are containers that are used to store data

Example:

number = 77
print(number)

Expression:

weight = 22
number = 77

answer = number + weight
# reutrns 99

Concatenation = adding STRINGS together - Concatenation only works with strings

first_name = tinerica
last_name = popica

name = first_name + lastname
print(name) #returns tinericapopica

Last updated