Is really easy to use “print” in Python.
Print means that will show on screen what you decide.
What you want to print, will be written between “()”, if is a string, don’t forget to write it between ” ”
in case of being numbers, remember to specify if is an int number or float.
For example:
print(“Hello”)
x= int (input (“give me a number”) )
print ( x + x )
And here’s a picture of an easy code, asking for an input, and then printing it.
Masteries: 10. Basic output (print) in Python by Lourdes García is licensed under a Creative Commons Attribution 4.0 International License.