I don't understand.
I thought TypeError was what I needed. I looked at some examples online and I thought this was right:
def main():
x = int(input("Input a number:"))
y = int(input("Input another number:"))
result = x * y
while not result:
try:
result = x * y
except TypeError:
print('Invalid Number')
main()