The below code keeps giving bugs related to NASA and codes remain prematurely. How shall correct the debug.
text1 = input("hello: ") text2 = input("nasa: ") text3 = input("bmw: ") # convert to uppercase text1_uppercase = text1.upper() text2_uppercase = text2.upper() text3_uppercase = text3.upper() # display on the screen print(text1_uppercase) print(text2_uppercase) print(text3_uppercase) # the other code blog below is not running either, even after I myself modified the nasa word in the line related to the bugs message. # Get user input text1 = input("hello: ") text2 = input("nasa: ") text3 = input("bmw: ") # Check if user input is NASA if text2.upper() != "NASA": print("Please enter NASA when asked for a company.") else: # Convert to uppercase text1_uppercase = text1.upper() text2_uppercase = text2.upper() text3_uppercase = text3.upper() # Display on the screen print(text1_uppercase) print(text2_uppercase) print(text3_uppercase)