Thanks Bro! I'm new here, and love to watch Your practical video with detailed and step by step explanation. Thanks again💖
@shihabsm1576 ай бұрын
menu = { 'Pizza': 120, 'Burger': 80, 'Salad': 40, 'Coffe': 25, 'Sihab': 0.2, } print("Welcome to our Resturant, Here is our menu") print('') print("Pizza: 120 Burger: 80 Salad: 40 Coffe: 25") Order1 = input("What do you want to order? : ") print("Your bill is: ", menu[Order1]) Order2 = input("Do you want to order more? : ") if(Order1 != "Coffe" and Order2 == "No"): print("Your total bill is ", menu[Order1] ) elif(Order1 == "Coffe" and Order2 == "No"): print("Sorry sir, You Cant order just a coffe") print("Thank You") else: total_bill = menu[Order1]+menu[Order2] Coupon = (input("Do you have a coupon Code, if yes then enter it? :")) if(Coupon == "Sihab"): disc_value = total_bill * menu[Coupon] print("Your bill after 20% Discount: ", total_bill - disc_value) else: print("Your total bill is: ", menu[Order1]+menu[Order2]) print("Thank you for ordering") this is my first project....thanks a lot
@avinashparchake79358 ай бұрын
it was nice. i made same but by using while loop menu = { 'pizza': 60, 'Pasta': 40, 'Burger': 60, 'salad': 70, 'coffee': 80, } print("Welcome to Python Restaurant") print("pizza: 60 Rs Pasta: 40 Rs Burger: 60 Rs salad: 70 Rs coffee: 80 Rs") order_total = 0 while True: item = input("Enter the item you want to order: ") if item in menu: order_total += menu[item] print(f"Your item {item} has been added to your order") else: print("Sorry, we don't have that item on the menu") another_order = input("Do you want to add another item? (yes/no): ") if another_order.lower() != 'yes': break print(f"The total amount to pay is {order_total} Rs")
@marsbgmi13917 ай бұрын
I was also going to suggest the same
@gyanaranjansahoo69276 ай бұрын
If "another_order" is yes then what will happen ??
@marsbgmi13916 ай бұрын
@@gyanaranjansahoo6927 Then the while loop will continue running
@gyanaranjansahoo69276 ай бұрын
@@marsbgmi1391 no dear ! "Break" will outside the loop . There will be error
@marsbgmi13916 ай бұрын
@@gyanaranjansahoo6927 there is a condition given in a code ... If " another_order" is not equal to 'yes' .. then only it will break from loop
@divyanshugoyal6639 ай бұрын
Bade bhaiya bhut acha explain krte ho aap such mai bhut hi jaadaaaaaaaaaaaaaaaaaaaaaaaaa accha
@codingwithsagarcw9 ай бұрын
Thanks bhai aise hi padhte rho
@Ayushontop097 ай бұрын
@@codingwithsagarcw Your explanation is better than code with hurry Please makes like this types of videos ❤ |
@ks976263 ай бұрын
English please
@The_Developer_219 ай бұрын
Bhai I really feel sad after looking views on this video, you are brilliant but why people don't come here
@onlylakshyaff52969 ай бұрын
Bhai vahi tou same
@GouravDas-m5c9 ай бұрын
Baki Sab nude reel dekhne me busy he 😅
@Shares4you-v3z7 ай бұрын
Right mai bhi tahel tahel te pohoch gaya yahan 😂
@NazimaNazimabanu-e8sАй бұрын
Great things are for great people not for all😊🎉
@MRJAWADBINANCIAN14 күн бұрын
😂😂😂@@GouravDas-m5c
@MeharZubair-ml7zlАй бұрын
we can also use for loop for dictionary elements. menu ={"Pizza":40, "Pasta":50, "Fries":20, "Kabab":60, } print("Welcome to our Restraunt. ") for item,price in menu.items(): print(f"{item}: {price} RS") order_total =0; while True: item=str(input("Select your Items:")) if item in menu: order_total += menu[item] print(f"You item is selected") else: print("Selected item is not in our menu...") another_order=input("You want to add another item? (Yes/No)") if another_order.lower() != 'yes': break print(f"You have to pay a total amount of: {order_total} RS")
@Arise-z4f3 ай бұрын
menu = { "pizza":120, "burger": 30, "coffee":10, "chowmein":30, "maggie":40, "dosa": 60, } a = input("Hello, sir What Help do you want? ") def order(): total_order = 0 if a == "order": b = input("What would you like to order? ") if b in menu: total_order += menu[b] print(f"{b} has been added to your list") else: print("We dont have that item sir") c = input("Want Anything else? ") if c == 'yes': d = input("What do you want? ") if d in menu: total_order += menu[d] print(f"{d} has been added to your list") print(f"your Total bill is {total_order}") else: print("We dont have that sir") elif c == 'no': print(f"Your total bill is {total_order}") if total_order == 0: print("Must buy something whenever you visit next time") elif a == "list": print("___ARISE RESTU MENU___") print("1. pizza - 120₹ 2. burger - 30₹ 3. coffee - 10₹ 3. chowmein - 30₹ 4. maggie - 40₹ 5. dosa - 60₹") order()
@devesh69169 ай бұрын
TBH bhai things I was searching since long you made that love your way of explaining things 🙏
@asmitaJaiswar-c9v15 күн бұрын
iss video me deatil me smjhane k liye bohot bohot shukriya😃😊🙏 mujhe samjh me b aay or acha b laga
@abhishekchauhan2638 ай бұрын
No need for this background music. You can do more low this bgm.
@SHADRIFAT5 ай бұрын
It's awesome bro. Pls make some more simple python mini project and make a playlist of this kind of thinks...
@VK18Reacts5 ай бұрын
In My 12 th i had already done these project already now i am working on web development with python And i am sure i will learn more and I will do something for my country 🇮🇳 In technology and department of computer science ❤
@majedkhan20944 ай бұрын
Brother can u tell me which videos u watched in the beginning of ur programming
@VK18Reacts4 ай бұрын
@@majedkhan2094 which programming language you want to learn python? If python Start watching basics 10 to 15 hours complete course available on KZbin then start practicing question because doing question can teach you a lot after start coding..
@avi.zworld4 ай бұрын
@@majedkhan2094 bhai pta chle to mujhe bhi btaio
@FlashFacts.073 ай бұрын
menu = { "Pizza":70, "Pasta":50, "Burger":30, "Salad":30, "Coffee":60 } print("Hello Sir") print("Welcome to our restaurant") print("This is our MENU") print("Pizza: 70/- Pasta: 50/- Burger: 30/- Salad: 30/- Coffee: 60/-") order_total = 0 item_1 = input("Enter an item to order: ").capitalize() if item_1 in menu: order_total += menu[item_1] print(f"{item_1} has been added") else: print("Sorry! That's not availale") another_item = input("Do you want Anything Else? (Yes/No):").lower() if another_item in "yes" or "no": if another_item == 'yes': item_2 = input("What would you like to order next?: ").capitalize() if item_2 in menu: order_total += menu[item_2] print(f"{item_2} has been added") print(f"Your total bill is Rs {order_total}") else: print("Sorry! that item is not unavailable") elif another_item == 'no': print(f"Great! You ordered a {item_1}") print(f"Your total bill is Rs {order_total}") else: print("Sorry! That's not a valid response")
@tanulupadhyay18022 ай бұрын
Bro could u tell me in which webiste or software , I can make this project and save it
@FlashFacts.072 ай бұрын
@@tanulupadhyay1802 You can fo it in any IDE means software like VS code and pycharm
@gauravkadav762021 күн бұрын
@@tanulupadhyay1802 vs code
@nishaanjum49014 ай бұрын
I have started exploring your channel because of more and more projects you have uploaded ...it's good to keep it more practical then theoretical...❤
@anujpareek00049 ай бұрын
Bhai please series ko continue rakhna ❤
@gymninjafx9 ай бұрын
❤
@atharvasharma8313Ай бұрын
I have made it like this :- menu = { "Pizza": 50, "Salaad": 60, "Burger" : 90, "Cofee" : 10, } order_bill = 0 while True: item = str(input("Enter your oder:")) if item in menu: order_bill = order_bill + menu[item] print("you have ordered:", item,) print(" your bill is:", order_bill, "rupees" ) else: print("Sorry we dont have that in menu") confirmation = str(input("Would you like to order something else ? (Yes/No) ")) if(confirmation == "Yes"): continue elif(confirmation == "No"): break else : print("Error you chose an option not in system. Therefore Completing your order") break print("You have to Pay : ", order_bill, "Rupees")
@Its__AnkitSahu9 ай бұрын
Thanks for the phonebook project...
@ZEESHANUSTAD6 күн бұрын
Awsome. whatever basics of Python I learnt from different channels, being utilized here in this project.
@KumarKPandey18 күн бұрын
Nice project, Sagar Here is another version of this project # Prepare menu menu = { "Pizza":40, "Pasta":50, "Burger":60, "Salad":70, "Coffee":80 } # Greet customer print("Welcome to PyRestaurent!") for key, value in menu.items(): print(f"{key}: Rs.{value}.00") # Take order def takeOrder(): global order_total order_total = 0 another_order = 'Y' ordered_items = [] while(another_order == 'Y'): item = input("Enter the name of item you want to order: ") if item in menu: order_total+=menu[item] ordered_items.append(item) print(f"Your item {item} has been added to your order!") else: print(f"Ordered item {item} is not available yet!") print(f"Total order amount is Rs.{order_total}") another_order = input("Any other item for order Y/N: ") if order_total > 0: print(f"Thanks for order, Your ordered items are {str(ordered_items).replace('[','').replace(']','').replace('\'','')} and total amount is Rs.{order_total}") takeOrder() Happy coding!
@GAUTAMKUMAR-dl3id3 ай бұрын
This is really a very helpful video for the freshers, who want to know how to make a unique project by themselves.🙏🙏🙏🙏🙏
@AbdulKarim-ms1xb24 күн бұрын
mein seekhney ki koshish kar raha hoon aur ziada knowledge nahi hey bas shouqia seekh raha hoon mein aik retired person hoon Allah aapko iemaan ata fermaey aur bht kaamyabian ata fermaey
@AdityaPrasad1115 ай бұрын
Really nice project made the phone book completely myself it was fun learnt alot, very nice channel
@Animal_funny_short5827 ай бұрын
Thanks for you mini project is very helpful for my begginer python programming skill👏👏
@ihsanwahab70783 ай бұрын
If u done that project can u share it with me?
@PankajAdhikari-ue5wdКүн бұрын
for those who is wondering what about lower or uppercase like "PIZZA" or "pizza". You can use ' .lower() ' at the end of item_1, another_item, and item_2 to convert input into lowercase but make sure the dictionary should be also in lowercase. For uppercase vice versa
@btsinspired...4572Ай бұрын
Thanku brooo hame kuch bhi nahi milra tha code mile tho run nhi hora tha soo tq ise video helpful❤
@ambikaroy13133 ай бұрын
Very simple n sorted thank u 🙏
@LikhonMia5762 ай бұрын
# Define the menu of restaurant menu = { 'pizza': 60, 'Pasta': 40, 'Burger': 60, 'salad': 70, 'coffee': 80, } # Greet the user print("Welcome to Python Restaurant") print("pizza: 60 Rs Pasta: 40 Rs Burger: 60 Rs salad: 70 Rs coffee: 80 Rs") order_total = 0 # Start the ordering process while True: item = input("Enter the name of the item you want to order: ").lower() # Convert to lowercase for consistency if item in menu: order_total += menu[item] # Add the price of the ordered item to the total print(f"Your item {item} has been added to your order.") else: print(f"Sorry, {item} is not available yet!") # Ask if the user wants to add another item another_order = input("Do you want to add another item? (yes/no): ").lower() if another_order != 'yes': break # Exit the loop if the user doesn't want to order more items # Print the total amount to pay print(f"The total amount to pay is {order_total} Rs")
@P.priiyannshiiКүн бұрын
Wow... thank you 🙏🏻
@nikhilgowda85445 ай бұрын
Your videos are awesome 🔥🔥🔥🔥🔥🔥
@andamanminiv-logs3 ай бұрын
Thank you so much sir ❤🙏🙏 Background music 😢 please skip background music
@Hassanmujtaba743 ай бұрын
❤❤❤ well done
@fouzanqazi68853 ай бұрын
excellent ! Nice explanation of line by line code.. make more videos of project
@wizardgaming64987 ай бұрын
Nice project simple and clear 😊
@tejaswinikamble61983 ай бұрын
Bahut easily understand your video 😊
@fenalchudasama_185 ай бұрын
Please Keep continue You Understand Very well!!
@ifthiquarahmed5200Ай бұрын
Excellent💯
@atharvapapade42416 ай бұрын
Nice explanation of line by line code ! *I request you to make more videos like this plz*
@jyotsana6094Ай бұрын
Very good..
@NITESH_Kumar767 ай бұрын
Sir ji ❤❤❤❤❤❤❤❤ you are very smart 🤓🤓🤓
@shilpikanojia-f1o5 ай бұрын
Amazing.... my first project and you explained it very well. Thanks a lot Sagar
@MegaRocky99Ай бұрын
Thanks bro ap NY boht achy sy samjhye..
@VashuDevRaoАй бұрын
Very nice 👍🏻 Bhai
@dulamsindhuja6804Ай бұрын
I have a doubt over here you made the page for ordering please let us know how the resto owner or resto people will get notified those orders and keep track of it?
@k-edits-e15 ай бұрын
Bro 🤝♥️Keep shine ♥️💎
@adityajunghare84779 ай бұрын
Bhai you are jem ... Nice video 😊
@AnandaSomАй бұрын
Please sir tell me Why In out put when I order cofee Then show the total amount of items to pay is {order_total}
@satyaprakashmane41427 ай бұрын
Bhai condition another order wali condition execute nhi ho Rahi please reply
@VISUALEDITFY8 ай бұрын
# Define the menu of the restaurant menu = { "pizza": 80, "burger": 50, "fries": 60, "coke": 30, "water": 40 } # Greet the customer print("Welcome to the restaurant! ") print("Would you like to have:") for item, price in menu.items(): print(f"{item}: Rs{price}") # Initialize total bill total_food = 0 # Ask for the first item while True: item = input(" What would you like to order (or type 'done' to finish)? ").lower() if item == "done": break if item in menu: total_food += menu[item] print(f"You have selected {item}.") else: print(f"Sorry, {item} is not available in the restaurant.") # Display the total bill print(f" Your total bill is Rs{total_food}. Enjoy your meal!") this is alternative for this code 😃😃
@FCS_sanin7 ай бұрын
I can do this in c
@B2vlog997 ай бұрын
Bro code dena toh c ka.@@FCS_sanin
@shahidmalik61072 ай бұрын
@codingwithsagarcw what if i want to print menu by printing dictionary items on separate lines rather than using single print()
@rajeshwaryk20073 ай бұрын
Sir , please tell me...Which software ur used fr this python? And ..for practice code Which software is best
@anmolchourasiya124 ай бұрын
Bhai thankyou kuch seekhne ko mila❤
@ibrahimmd7597 ай бұрын
Really helpful ❤❤❤
@typicalshorts22864 ай бұрын
Both hard sir 💪💪
@vikrantmitharwal64743 ай бұрын
Bro don't run music in the background it creates a lot of disturbance but your explanation is awesome Fully understandable
@shreyadhiman27527 күн бұрын
Amazing 😊
@hritikRaj209 ай бұрын
Bhai incredible bhai ❤❤❤❤❤
@thedataholicsКүн бұрын
thanks.. it's helpful
@awaismubashar68265 ай бұрын
my first project of python . I am feeling very joyful, Sir Thank you so muchh
@Rockstar2010-lc6bh7 ай бұрын
Bhai it was fantastic 😻😻 This way if you teach then any degree holder (example:me only)can understand easily and where to apply when to apply everything is easily doable 😃❤ And pls continue 100 days of coding till entire course using like these kind projects as example Then it's useful for everyone 😢😢😢 Please brother 🙏❤❤❤
@ifthiquarahmed5200Ай бұрын
If we type no and yes Will it take small letters or show errors
@BgmiSaurabh-qb7te8 ай бұрын
Bro Don't Loose Hope Your Content Is very impressive❤
@rpawar25256 ай бұрын
This will certainly boost the confidence of beginners.
@mohammedaadil38726 ай бұрын
Awesome explanation...next part please...
@SenmaBhavesh-v7d5 ай бұрын
It's a so interesting sir 😊❤
@vandnasharma97996 ай бұрын
Thanks for your guidance i make the same using tkinter 👍😃💞
@LEGHARI_5 ай бұрын
SHANDAAAAR❤
@shwetamehta6561Ай бұрын
I want a project on blood bank.
@asmitaJaiswar-c9v15 күн бұрын
hello mai ak beginnre hu from python mujhe aapka project acha laga sach me kya aap program me jo brakets ( ),{ },[ ],hote h uspe ak short video bna skte hain kya pleass....🙏k kon sa braket kah per use hota k vo chij ache se yaad ho jaye
@madhabpatra58006 ай бұрын
Thank you so much sagar 🙏🙏
@Ajyyt6 ай бұрын
Good video for beginners ❤
@manishpandey79446 ай бұрын
Thanks man, this was very easy and straight forward...
@kakashi38865 ай бұрын
Thanks bro i have made it , your earned a subscriber!!! You are good at making peoples understand step by step, Keep up the good work
@marrys_fashion_world7 күн бұрын
AMAZING
@HasanBaig269 күн бұрын
thank you brother. sb kuch tjeek tha bs music band kr do ya full slow awaz kr dia kro
@Chowdary1307 ай бұрын
Thank you , This video is very helpful for beginners for those who have completed python basic tutorials....
@NowEnd-le5ig6 ай бұрын
code with harry wala
@awaissaleem-n5eАй бұрын
Good brother keep doing this
@-NarutoUzumaki3344 ай бұрын
Nice Video Bro 👌
@Pk363727 ай бұрын
Brilliant 👍👍 bro
@abhishekkaran12054 ай бұрын
last item not showing kindly help
@Activitieswithshruti3 ай бұрын
Items ki quantity ka bhi program btao
@sirineelimasaride97624 ай бұрын
nicely explained...thankyou &can you plz keep low background music
@mohammadahmed3324 ай бұрын
Thanks brother your video is very informative.
@EditsByShaurya079 ай бұрын
Why Only 343 Views He Deserve More..
@funshortscreator7 ай бұрын
Helpful really awesome ❤😊
@palakg_188 ай бұрын
Very nice project bhaiya
@DaigiftАй бұрын
rs mount ke bad me lagaya jata ha bhai like (20Rs) and doller mount ke pahale like ($5) just for knowledge
@ZUGNUKHATOON20 күн бұрын
Thanks bro 🎉
@barriramadevi24466 ай бұрын
Very good explanation
@maheshramteke27658 ай бұрын
Good video. Really helpful and useful for beginners in python
@OPAyanMEHARYT4 ай бұрын
Use for loop to do item 1 to minimize work
@shubhangiphuke384127 күн бұрын
jo freeze value likhi hui hai wo Kaiser type kare in visual studio
@kedarnathnagri9516 ай бұрын
Thanku Bhai ❤
@rakeshraki25753 ай бұрын
Bro I feel it but this program to convert front end mey kaisaa karegaa plz making video
@Swati_sinha058 ай бұрын
Thank you bhya bht Easley apne bta diya Thanku so much bhiya
@shortaffectionstory5 ай бұрын
Great job
@privategaming55532 ай бұрын
Sirf do hi bar order place ho skta hai aise to. Ek baar me order place karna ha to like. Pasta , pizza and coffe. Wo bhi possible nhi.
@ENGRWAQASALISHAH8 ай бұрын
2nd part of this project link plz???
@sarikachouhan79258 ай бұрын
Tqsm Bhai ,this video is amazing😍
@kavitanagpal88638 ай бұрын
Very good video , lovely nice to watch
@BCAWALASTUDENT6 ай бұрын
Bhai loop lagaya to nahi chalta kya? Because customer srif dohi order kar para es code mai when customer want multiple order tab kya use kare ?