# Prints any number of question marks, as specified by user n = int(input("Number: ")) for i in range(n): print("?", end="") print()