What will be the output of the following Python code if the input entered is 6?
valid = False while not valid: try: n=int(input(“Enter a number”)) while n%2==0: print(“Bye”) valid = True except ValueError: print(“Invalid”) a) Bye (printed once) b) No output c) Invalid (printed once) d) Bye (printed infinite number of times)