Input and Output
print() and input() functions
Interview Relevant: Basic I/O operations
Input and Output
Interact with the user via console.
Code Examples
python
1name = input("Enter your name: ")
2print("Hello", name)
3print(f"Hello {name}!") # f-string (formatted)