Answer:
while True:
try:
whole_number = int(input("Enter a whole number: "))
break
except ValueError:
print("That is not a whole number. Try again.")
product = whole_number * 21
print("The product is", product)
Step-by-step explanation:
using while true and except ValueError to make sure the user enters a whole number