```python print(""" 1. say hello 2. say goodbye """) usrinput = input("Select one: ") if usrinput =

print("""
1. say hello
2. say goodbye
""")
usrinput = input("Select one: ")

if usrinput == "1":
  print("Selected 1!")

elif usrinput == "2":
  print("Selected 2!")

else:
  print("Please select a valid number!")
Was this page helpful?