Chapter 12: Input and Output Python provides ways to interact with users through input and output. Example Python1 2name = input("Enter your name: ") print(f"Hello, {name}!") This code asks for the user's name and then greets them.