Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help
#1
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")
Yoriz write Jul-20-2021, 07:08 PM:
Please post all code, output and errors (in their entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Reply


Messages In This Thread
help - by CodingKid - Jul-20-2021, 06:47 PM
RE: help - by Yoriz - Jul-20-2021, 07:15 PM
RE: help - by deanhystad - Jul-20-2021, 08:41 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020