name = input('Please enter your name: ')
correctTypes = False
errorMessage = 'This is not a number!'
while correctTypes is False:
    age = input('Please enter your age: ')
    try:
        int(age)
        correctTypes = True

    except ValueError:
        try:
            float(age)
            correctTypes = True
        except ValueError:
            print(errorMessage)

correctTypes = False
while correctTypes is False:
    currentYear = input('Please enter the current year: ')
    try:
        int(currentYear)
        correctTypes = True

    except ValueError:
        try:
            float(currentYear)
            correctTypes = True
        except ValueError:
            print(errorMessage)

correctTypes = False
while correctTypes is False:
    printIterations = input('Enter a number: ')
    try:
        int(printIterations)
        correctTypes = True

    except ValueError:
        try:
            float(printIterations)
            correctTypes = True
        except ValueError:
            print(errorMessage)

print("Hello " + name)
print("You're currently " + age)
differenceBetween = 100 - int(age)
yearTheyTurnOneHundred = int(currentYear) + int(differenceBetween)

while printIterations is not 0:
    print("You'll turn 100 in the year: " + str(yearTheyTurnOneHundred))
    printIterations = int(printIterations) - 1

input('Press any key to exit')
