Answer:
# Ask the user to enter a city name
city = input("Please enter a city name: (Nope to end) ")
# Repeat until the user inputs "Nope"
while city != "Nope":
# Print a message about the city
print("Oh! %s is a cool spot." % city)
# Ask the user for another city name
city = input("Please enter a city name: (Nope to end) ")