Question 1 · easy
The user types Puri and presses Enter. What does this program print?
city = input()
print("Welcome to {city}!")Without the letter f before the opening quote, the text is an ordinary string, so the curly brackets and the name print exactly as typed. Only f"Welcome to {city}!" would show Welcome to Puri!; Python never drops the brackets on its own, and nothing is looked up, so there is no NameError.
