python print
print("Hello World!")
python print
# This is a print statement
print("Hello, world!")
python print
# To print a string...
print("I am a string yay")
# To print an answer to an equation...
print(5+5)
# To print the answer of previously defined variables...
x = 50
n = 30
print(x + n)
# Notes:
# You can't add a string to a number.
x = "foo"
n = 50
print(x + n)
# That will come up with an error.
python print
#Normal:#
print("Hiya Grepper!") #Output: Hiya Grepper!#
#As Equation:#
print(1+1) #Output: 2#
#With String Variables:#
x = 'Pog'
print(x + 'Champ') #Output: PogChamp#
#With Integer Variables:#
y = 9999
z = str(y)
print('You have ' + z + ' IQ') #Output: You have 9999 IQ#
#NOTE: Not converting the int variable to a str variable will return an error#
python print
x = 10
y = 5
print(x) # 10
print("x is ",x) # x is 10
print(x,y) # 10 5
print("sum of", x, "and", y, "is", x+y) # sum of 10 and 5 is 15
mCar = "A"
print(mCar * y) # AAAAA
python print
# Rainy Day
wet = 'umbrella'
print(wet)
# Sunny Day
hot = 'sunglasses'
print(hot)
python print
print("Hello, World!") #Output: Hello, World!
print(5+5) # Output:10
x=10
y=11
print(x+y) #Output: 21
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us