# When was the last you visited a sports shop? How did you go about selecting the sports equipment you wanted?
# Just the way you like to go to specific choices, we can create programs that help you do the same.
# Lets try!

''' Task 1: Cycle Accessories Store'''
print("**** Task 1:  ****")
print()
# You visited a Cycle Accessories store recently and decided to help the store manager by creating a program that will help customers make their purchases online.
# The store sells the following products:
# Cycle Locks  - 1. Lock with Key (INR 199) 2.Combination Lock (INR 499)
# Cycle Pumps  - 1. Foot Pump (INR 1099)    2. Hand Pump (INR 599)
# Cycle Lights - 1. USB Powered (INR 1499)  2. Battery Powered (INR 299)
# Cycle Bottle Holder - 1. Side Access Holder (INR 499) 2.Bike Bottle Cage (INR 399)
print("Welcome to the sports store!")
choice = int(input("What do you want to buy today? Enter the number corresponding to what you want to buy.\n1-Cycle Locks\n2-Cycle Pumps\n3-Cycle Lights\n4 - Cycle Bottle Holder."))
if choice == 1:
    choice2 = int(input("Do you want a 1- Lock with Keys or 2- a Combination Lock?"))
    if choice2 == 1:
        print("One Lock with keys costs 199 Indian Rupees. Thank you!")
    elif choice2 == 2:
        print("One Combiination Lock costs 499 Indian Rupees. Thank you!")
    else:
        print("PLease enter a number mentioned above.")
elif choice == 2:
    choice2 = int(input("Do you want a 1- Foot Pump or 2- Hand Pump?"))
    if choice2 == 1:
        print("One Foot Pump costs 1099 Indian Rupees. Thank you!")
    elif choice2 == 2:
        print("One Hand Pump costs 599 Indian Rupees. Thank you!")
    else:
        print("Please enter a number mentioned above.")
elif choice == 3:
    choice2 = int(input("Do you want a 1- USB Powered Light or 2- Battery Powered Light?"))
    if choice2 == 1:
        print("USB Powered Light costs 1499 Indian Rupees. Thank you!")
    elif choice2 == 2:
        print("Battery Powered Light costs 299 Indian Rupees. Thank you!")
    else:
        print("Please enter a number mentioned above.")
elif choice == 4:
    choice2 = int(input("Do you want a 1- Side Access Holder or 2- Bike Bottle Cage?"))
    if choice2 == 1:
        print("Side Access Holder costs 499 Indian Rupees. Thank you!")
    elif choice2 == 2:
        print("Bike Bottle Cage costs 399 Indian Rupees. Thank you!")
    else:
        print("Please enter a number mentioned above.")
else:
    print("Please enter a number mentioned above.")



''' Task 2: Box of Books'''
print("**** Task 2:  ****")
print()
# Write a program for a book store that provides "Box of Books" based on either the Author selection or Series selection.
# Here are the option under Authors and Series selection:
# Featured Authors:
#   1. Ruskin Bond (The customer get the following books for INR 450: 1.Great Short Stories for children 2.Stories of Wisdom 3.The room of many colours
#   2. J.K.Rowling (The customer get the following books for INR 650: 1.Harry Potter and the Philosopher's Stone 2.Tales of Beedle the Bard 3.Fantastic Beasts)
# Featured Series
#    1. Diary of Wimpy Kid (12 books for INR 2530)
#    2. Geronimo Stilton (10 books for INR 2025)
#    3. Amar Chithra Katha (10 books for INR 900)
print("Welcome to the book store!")
choice = int(input("What do you want to buy today? Enter the number corresponding to which section you want to go to for books.\n1-Featured Authors\n2-Featured Series\n"))
if choice == 1:
    choice2 = int(input("Do you want a 1- Ruskin Bond Book or 2- J.K Rowling Book?"))
    if choice2 == 1:
        print("You get the following books for 450 Indian Rupees. 1.Great Short Stories for children 2.Stories of Wisdom 3.The room of many colours. Thank you!")
    elif choice2 == 2:
        print("You get the following books for 650 Indian Rupees. 1.Harry Potter and the Philosopher's Stone 2.Tales of Beedle the Bard 3.Fantastic Beasts. Thank you!")
    else:
        print("Please enter a number mentioned above.")
elif choice == 2:
    choice2 = int(input("Which series do you want:\n1. Diary of Wimpy Kid (12 books for INR 2530)\n2. Geronimo Stilton (10 books for INR 2025)\n3. Amar Chithra Katha (10 books for INR 900)\n"))
    if choice2 == 1:
        print("You get Diary of Wimpy Kid (12 books for INR 2530) Thank you!")
    elif choice2 == 2:
        print("You get Geronimo Stilton (10 books for INR 2025) Thank you!")
    elif choice2 == 3:
        print("You get Amar Chithra Katha (10 books for INR 900) Thank you!")
    else:
        print("Please enter a number mentioned above.")
else:
    print("Please enter a number mentioned above.")




''' Task 3: What is your personality'''
print("**** Task 3:  ****")
print()
# Do you know one can find out more about a person by getting to know details of 
#  - the food they like to eat, 
#  - the time of the day they enjoy etc.
# Ready to create a program that can predict a person’s personality by asking some simple question
# Here some sample questions you can ask and choices you can provide
# - What is your favourite food - Salad or Burger
# - What is your favourite part of the day - Morning and Evening
# - What would you do if you won a lottery - Spend or Save
# Now based on the combination of choices, you can make a prediction of their personality.Here is are some predictions:
## If Food=Salad, Part of the day = Morning and Use of lottery = Spend then display "You are a person who likes to live life to the fullest"
## If Food=Salad ,Part of the day = Evening and Use of lottery = Spend then display "You are a person who believes every day is a good day"
## If Food=Salad , Part of the day = Evening and Use of lottery = Save then display "You are a person who believes in planning"
## If Food=Burger ; Part of the day = Evening and Use of lottery = Save then display "You are person who looks forward to things with a plan in hand"
## If Food=Burger ; Part of the day = Morning and Use of lottery = Spend then display "You are person who believes in fast pace of life"
## If Food=Burger ; Part of the day = Morning and Use of lottery = Save then display "You believe in a simple life"
## If Food=Burger ; Part of the day = Evening and Use of lottery = spend then display "You are a person who is organized and fast with work"
## If Food=Salad ; Part of the day = Morning and Use of lottery = Save then display "You beieve in a bright future"
# Use questions and combinations given above, to write a program that accepts the choice from the user and displays their personality. You can change or add more
print("Welcome to the persoality predictor.")
food = int(input("Do you prefer a 1-salad or 2-burger?"))
day = int(input("Do you prefer 1- the morning or 2- the evening?"))
lot = int(input("What would you do if you won the lottery? Would you 1- spend or 2- save?"))
if food == 1 and day == 1 and lot == 1:
    print("You are a person who likes to live life to the fullest.")
elif food == 1 and day == 2 and lot == 1:
    print("You are a person who believes every day is a good day.")
elif food == 1 and day == 2 and lot == 2:
    print("You are a person who believes in planning.")
elif food == 2 and day == 2 and lot == 2:
    print("You are person who looks forward to things with a plan in hand.")
elif food == 2 and day == 1 and lot == 1:
    print("You are person who believes in fast pace of life.")
elif food == 2 and day == 1 and lot == 2:
    print("You believe in a simple life.")
elif food == 2 and day == 2 and lot == 1:
    print("You are a person who is organized and fast with work.")
elif food == 1 and day == 1 and lot == 2:
    print("You beieve in a bright future.")
else:
    print("Please enter a number stated above.")



'''Awesome job!! You have created a mini Amazon store. Way to go!!'''

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: