# Import necessary libraries
import tensorflow as tf
import numpy as np
import pandas as pd
# Define the items you want to sell
items = {
'item1': {
'name': 'T-shirt',
'description': 'A comfortable cotton T-shirt',
'price': 25
},
'item2': {
'name': 'Mug',
'description': 'A ceramic mug with a catchy slogan',
'price': 15
},
'item3': {
'name': 'Poster',
'description': 'A high-quality poster of your artwork',
'price': 20
}
}
# Define a function to display the items
def display_items():
print('Here are the items we have for sale:')
for key, value in items.items():
print(f"{key}: {value['name']} - {value['description']} - ${value['price']}")
# Define a function to process the order
def process_order(item_id, quantity):
item = items[item_id]
total_price = item['price'] * quantity
print(f"You have ordered {quantity} {item['name']} for a total of ${total_price}.")
# Start the main program
print('Welcome to our online store!')
display_items()
# Prompt the user to select an item and quantity
item_id = input('Please enter the item ID you want to order: ')
quantity = int(input('Please enter the quantity you want to order: '))
# Process the order
process_order(item_id, quantity)
# Thank the user for shopping
print('Thank you for shopping with us!')
Song Generator
|
|
Title | |
Song: | |
This is your song to do what you like with cut and paste and make your own corrections. The Fountain song book project will be getting many updates on the best words. And at the end it will be encrypted as a final project. Feel free to donate below We have updated the text for more popular word files. 2013 because Soaking book teachings the word smiths have been changed.