Jul-20-2021, 06:47 PM
(This post was last modified: Jul-20-2021, 07:08 PM by Yoriz.
Edit Reason: Added code tags
)
print("would you like a new list") t = input("yes/y no/n :") if t == "n": print("OK then have a good day") if t == "y": ty = input("ok enter list entities") aee2 = input("1. ") bee2 = input("2. ") cee2 = input("3. ") dee2 = input("4. ") eee2 = input("5. ") fee2 = input("6. ") gee2 = input("7. ") hee2 = input("8. ") iee2 = input("9. ") jee2 = input("10. ") kee2 = input("11: ") lee2 = input("12: ") list3 = (aee2, bee2, cee2, dee2, eee2, fee2, gee2, hee2, iee2, jee2, kee2, lee2,) print("would you like to check your list for any certain entities") t = input("yes/y no/n :") if t == "n": print("OK then have a good day") if t == "y": ty = input("ok what would you like to check for: ") if ty in list3: print("yes that is in the list") if ty not in list3: # problem with list3 print("sorry that number is not in the list")