Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Chapter 03: Input & Output

Output

  • Use print() to display.
print("Hello")
print("Age:", 20)

Input

Use input() (always returns string).

name = input("Enter name: ")
age = int(input("Enter age: "))