# Q1.Write а Pythоn snippet thаt prоmpts the user tо enter а greeting. # If the user enters "Hello", output "Hi there!". # if the user enters "Goodbye", output "See you later!". # For any other input, output "I don't understand.". # Q2. Write a Python program that interacts with the user as follows: # a. Prompt the user to enter a meal choice. The valid options are: # Breakfast, Lunch, or Dinner. # If the user enters anything else, output: # Invalid entry. # and end the program. # b. If the meal choice is valid, prompt the user to enter a drink choice. # The valid drink options are: # Coffee, Juice, or Water. # If the drink entered is not one of these options, output: # Invalid drink choice. # and end the program. # c. Only the following specific meal and drink combinations should produce output: # - Breakfast with Coffee # - Lunch with Juice # - Dinner with Water # For these combinations, output exactly one of the following messages: # Breakfast with Coffee is a great start! # Lunch with Juice is refreshing! # Dinner with Water is a healthy choice! # d. If both the meal and drink are valid but do not form one of the listed # combinations, produce no output. # Sample Runs: # Valid Input: # Enter a meal: Lunch # Enter a drink: Juice # Lunch with Juice is refreshing! # Invalid Meal: # Enter a meal: Snack # Invalid entry. # Valid Meal but Invalid Drink: # Enter a meal: Dinner # Enter a drink: Soda # Invalid drink choice. # Q3. Understanding Boolean Logic (Program Comprehension) # This is a program comprehension question. # You do NOT need to write or submit any Python code. # Consider the following Python code: # condition = (50 < 40) or (75 == 75) and (200 > 300) # if condition == True: # print("Success!") # else: # print("Failure!") # Question: # What is the exact output produced when this code is executed? # Your answer should be ONE line of text exactly as it would appear # when the program runs. # Do NOT rewrite the code. # Do NOT explain your reasoning. # Only write the output.