I Need To Ask The Player Age But He Only can put numbers.
You could use
age = int(input("what is your age?"))
This stores the input as a variable age.
If the player types in a non number, there will be an error.
@Four_Of_Clubs There is no type() function in Python if I'm not wrong.
You could use a try except loop, something like this:
try: age = int(input("what is your age?")) except ValueError: print("invalid number")