I ran into a problem while I was trying to make an if statement.
Below is my code so far:
while True:
try:
Names = int(input("Number of names: "))
except ValueError:
print("You didn't put in a number, Try again.")
finally:
if Names == #this is where I'm stuck
Is there any way to define an integer, so that the loop breaks when the user puts in a number instead of a string?