Input and Output
Understand how to take user input and display output in Python programs.
1
Introduction to Input and Output
Input and output are essential for interacting with a program. Input allows users to provide data, while output displays information back to them.
In this lesson, you’ll learn how to use the input() and print() functions in Python.

2
The print() Function
The print() function displays text or information on the screen. For example:
print("Hello, World!")
This will output:
Hello, World!# Using the print function
print("Hello, World!")