Python Input & Output Quiz

1. What function is used to display output in Python?
2. What type of value does input() always return?
3. What will this code print?
print("Hello", "World")
4. Which function is used to get user input?
5. How do you convert user input to an integer?
6. What will happen if you add a number to input without converting it?
7. What is an f-string used for?
8. Which is a correct f-string?
9. What will this code do?
age = int(input("Age: "))
10. Which line correctly combines input and output?