python print() function code example
Example 1: how to print in python
print("hello world")
Example 2: python print
print("I am a string yay")
print(5+5)
x = 50
n = 30
print(x + n)
x = "foo"
n = 50
print(x + n)
Example 3: print python
print('Hello, world!')
Example 4: print() in python
print('hi, baby!')
Example 5: python print
print("type what you want to be printed")
Example 6: python print
x = 10
y = 5
print(x)
print("x is ",x)
print(x,y)
print("sum of", x, "and", y, "is", x+y)
mCar = "A"
print(mCar * y)