Skip to content

Commit 7d6ca67

Browse files
committed
initialized a new project with UV
1 parent 92c3308 commit 7d6ca67

File tree

5 files changed

+100
-0
lines changed

5 files changed

+100
-0
lines changed

myapp/.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

myapp/README.md

Whitespace-only changes.

myapp/main.py

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Restaurant Menu Dictionary
2+
restaurant_menu = {
3+
"Paneer Tikka": 180,
4+
"Chicken Wings": 220,
5+
"Spring Rolls": 160,
6+
"French Fries": 120,
7+
"Butter Chicken": 320,
8+
"Paneer Butter Masala": 280,
9+
"Veg Biryani": 200,
10+
"Chicken Biryani": 250,
11+
"Tandoori Roti": 20,
12+
"Butter Naan": 30,
13+
"Garlic Naan": 35,
14+
"Gulab Jamun": 70,
15+
"Ice Cream": 90,
16+
"Rasgulla": 60,
17+
"Masala Chai": 30,
18+
"Cold Drink": 40,
19+
"Lassi": 50,
20+
"Coffee": 45
21+
}
22+
23+
24+
25+
26+
27+
28+
29+
30+
31+
32+
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+
43+
44+
45+
46+
47+
# # Show menu to user
48+
# print("🍽️ Welcome to Vikram's Restaurant!")
49+
# print("Here's our menu:\n")
50+
# for item, price in restaurant_menu.items():
51+
# print(f"{item} - ₹{price}")
52+
53+
# print("\n📝 Let's take your order (type 'done' to finish):\n")
54+
55+
# # Take order from user
56+
# order = {}
57+
# while True:
58+
# item = input("Enter item name: ").strip()
59+
# if item.lower() == 'done':
60+
# break
61+
# elif item in restaurant_menu:
62+
# try:
63+
# quantity = int(input(f"Enter quantity for {item}: "))
64+
# if item in order:
65+
# order[item] += quantity
66+
# else:
67+
# order[item] = quantity
68+
# except ValueError:
69+
# print("❌ Please enter a valid number.")
70+
# else:
71+
# print("❌ Item not found in menu.")
72+
73+
# # Calculate total bill
74+
# print("\n🧾 Your Bill Summary:\n")
75+
# total = 0
76+
# for item, quantity in order.items():
77+
# price = restaurant_menu[item]
78+
# cost = price * quantity
79+
# total += cost
80+
# print(f"{item} x {quantity} = ₹{cost}")
81+
82+
# print(f"\n💰 Total Amount to Pay: ₹{total}")
83+
# print("\n🙏 Thank you for dining with us, come again!")
84+

myapp/pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[project]
2+
name = "myapp"
3+
version = "0.1.0"
4+
description = "Add your description here"
5+
readme = "README.md"
6+
requires-python = ">=3.12"
7+
dependencies = []

myapp/uv.lock

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)