Answers for "print python 3"

61

how to print something in python

print("whatever you want to print")
Posted by: Guest on November-19-2019
30

python print

# This is a print statement
print("Hello, world!")
Posted by: Guest on February-01-2020
16

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.
Posted by: Guest on April-14-2020
5

print()

print("this is the print function!")
Posted by: Guest on April-09-2020
2

print in python 2

# Print is a keyword in python2, so it works more like this
print ""

# Also like this
print 1+1
Posted by: Guest on May-22-2020
0

print python 3

a = 3
print(a)
Posted by: Guest on June-20-2020

Python Answers by Framework

Browse Popular Code Answers by Language