import math as mth def main(): #number = float(input("Please enter a number: ")) try: number = float(input("Please enter a number: ")) print("Now in the TRY block of code") squareRoot = mth.sqrt(number) print("\nThe square root of",number,"is",squareRoot) except ValueError as excObj: error=str(excObj) if error == "math domain error": print("the square root of a negative number is imapginary.") elif error == #########: except TypeError: print("You need to fix the input line.") print("\nNOW out he the try/except code grouping.")