Lecture 1 Notes (1)
Lecture 1 Notes (1)
print("Hello, World!")
x = "John"
# is the same as
# >>> no brackets
x = 'John'
if 5 > 2:
print("Five is greater than two!")
y = "John"
print(type(x))
print(type(y))
# >>> Assigning multiple values # >>> Global Variables
print(y) x = "fantastic"
myfunc()
print(x) # concept
print(y) x = "awesome"
global x
print(x)
print(y)
print(z)
x = "Python is awesome"
print(x)
x = "Python"
y = "is"
z = "awesome"
print(x, y, z)
x = "Python "
y = "is "
z = "awesome"
print(x + y + z)