For some reason when I try to use isalpha() here in the if statement, it keeps being ignored and proceeds to the next line. If I use isdigit(), the code works as expected. I'm just trying to understand why isalpha() doesn't work here?
user_input1 = input("Enter the first number")
if user_input1 == user_input1.isalpha():
print ("Please use only numbers")
user_input2 = input("Enter the second number")
add_ints = int(user_input1) + int(user_input2)
print (user_input1,"+" ,user_input2, "=", add_ints)