Skip to content
    Hays Kansas Food Randomizer@thallagin
    main.py
    import random
    import sys



    Deliv = ["Jimmy John's", "Taco Shop", "Taco Grande", "Domino's", "Lomato's", "Gambino's", "Pizza Hut"]

    Pizza = ["Lomato's", "Gambino's", "Pizza Hut", "Papa Murphys", "Domino's", "Frozen Pizza from Store", "Casey's", "Godfather's"]

    FastFood = ["Vernie's", "Tryyaki", "Billy Sims", "Freddy's", "J D's Chicken", "Qdoba", "A&W", "Long John Silver's",
    "Taco Bell", "McDonalds's", "Sonic", "Wendy's", "Arby's", "KFC", "Burger King", "Subway", "Jimmy Johns", "Freddy's"]

    DiningOut = ["Gella's", "Thirsty's", "9th Street Diner", "Old Chicago", "Fuzzy's Tacos", "Imperial Garden","Tiger Burger"
    "Applebee's", "Blue Smoke BBQ", "Whiskey Creek", "Trio", "Hickok's", "Bricks Rockin BBQ"]

    Breakfast = ["9th Street Diner", "Pheasant Run", "IHOP"]

    BarFood = ["Golden Q", "On The Rocks", "Sip N' Spin", "Horseshoe"]

    Mex = [ "Jalisco's", "El Dos", "Gutierrez", "Cancun", "Taco Bell", "Fuzzy's Tacos", "Taco Riendo", "Qdoba"]

    Outtown = ["The Well - Munjor","Sonny's - Liebenthal", "The Getaway - Schoenchen", "The Library - Vicoria"]

    All = ["Jimmy John's", "Taco Shop", "Taco Grande", "Domino's", "Lomato's", "Gambino's", "Pizza Hut", "Papa Murphys",
    "Frozen Pizza from Store", "Casey's", "Godfather's","Pizza Hut","Vernie's", "Tryyaki", "Billy Sims", "Freddy's",
    "J D's Chicken", "Qdoba", "A&W", "Long John Silver's","Gella's", "Thirsty's", "9th Street Diner", "Old Chicago",
    "Fuzzy's Tacos", "Imperial Garden","Applebee's", "Blue Smoke BBQ", "Whiskey Creek", "Trio", "Hickok's", "Tiger Burger"
    "Bricks Rockin BBQ","Taco Bell", "McDonalds's", "Sonic", "Wendy's", "Arby's", "KFC", "Burger King", "Subway", "Jimmy Johns",
    "Pheasant Run", "IHOP","Golden Q", "On The Rocks", "Sip N' Spin", "Horseshoe", "Jalisco's", "El Dos", "Gutierrez", "Cancun",
    "Taco Riendo", "Qdoba", "Whiskey Creek", "The Well - Munjor","Sonny's - Liebenthal", "The Getaway - Schoenchen", "The Library - Vicoria"]

    list1 = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "end", "END"]

    x = ' '

    print ('''Okay so you are hungry!
    And it looks like you do know what to eat
    Well I am going to help you decide exactly what to eat.

    Press''')
    print ('''
    1 for Delivery 2 for Pizza, 3 for Fast Food
    4 for Dining Out 5 for Breakfast, 6 for Bar Food
    7 for Mexican 8 for Out of Town Dining 9 for Random

    If you are not satisfied, please enter a number again.
    Enter 'end' to suspend the program''')

    print(x)
    food = input()

    hungry = True
    print(x)
    while hungry:
    if food == '1':
    print(random.choice(Deliv))
    food = input()
    print(x)
    elif food =='2':
    print(random.choice(Pizza))
    food = input()
    print(x)
    elif food == '3':
    print(random.choice(FastFood))
    food = input()
    print(x)
    elif food == '4':
    print(random.choice(DiningOut))
    food = input()
    print(x)
    elif food =='5':
    print(random.choice(Breakfast))
    food = input()
    print(x)
    elif food =='6':
    print(random.choice(BarFood))
    food = input()
    print(x)
    elif food =='7':
    print(random.choice(Mex))
    food = input()
    print(x)
    elif food =='8':
    print(random.choice(Outtown))
    food = input()
    print(x)
    elif food =="9":
    print(random.choice(All))
    food = input()
    print(x)
    elif food == 'end' or 'END':
    sys.exit()
    while food not in list1:
    print('Please enter one of the values given')
    food = input()
    continue