import mathA = input("Enter Wright in KG PLease :")
B = input("Enter Height in Meters Please :")while (any(x.isalpha() for x in A)):print("No Letters Please")A = input("Enter Wright in KG PLease ")B = input("Enter Height in Meters Please ")D = B ** 2C = (float(A) / float(D))print(C)if C <= 18.5: print("Your Under Weight")elif C >= 18.5 and C <= 24.9:print ("Your Heathy Weight")elif C >= 25.0 and C <= 29.0:print ("Your Over Weight")
I keep getting TypeError("unsupported operand type(s) for ** or pow(): 'str' and 'int'",) I want to square the user input B and i don't know why sorry if this sounds really dumb