Variablen in Python
Simple terms: a variable is a box that you can put stuff in it such as
strings int booleans
Encouraging Elk
Simple terms: a variable is a box that you can put stuff in it such as
strings int booleans
name=input('What is your name')
email=input('what is your email')
print(f"Hi {name}! We will be contacting you shortly at {email}")
variable1 = "Hello"
variable2 = 13
variable3 = False
myVar = "Hello this is a variable!")
print(myVar)
# Prints "Hello this is a variable!"
integer = 4 #int
string = "STRING" #string
boolean = True #Boolean. Can set it to False, too
#creating variable in python
a = 15 #it is called integer
b = 'apple' #any word or number written in this "" is called string
c = False #True or False is called boolean
d = 2.45 #any number with point is called float
print(a)
print(b)
print(c)
print(d)
#it will print all the values