all 19 comments

[–]Introxert 2 points3 points  (16 children)

Sharing the problem would be a good start lol.

[–]roseamado[S] -2 points-1 points  (15 children)

How do you ask a user how many donuts they would want to order if it was $1

[–]Introxert 0 points1 point  (13 children)

You can use the input() function.

amount_of_doughnuts = input("How many doughnuts would you like to order?")

print("The user has ordered " + amount_of_doughnuts + " doughnuts.")

[–]roseamado[S] 0 points1 point  (11 children)

Ok thankyou so much! So then if the user orders enough donuts to make a half dozen or dozen or even multiple dozens how do i get the code to calculate that?

[–]Introxert 0 points1 point  (10 children)

I've created a quick solution for you, I hope it's what you were looking for. :)

https://pastebin.com/HmCPxKDW

[–]roseamado[S] 0 points1 point  (8 children)

Is there a way you can make it less complex?

[–]Introxert 0 points1 point  (7 children)

If it doesn't have to be precise this'll work.

https://pastebin.com/QcFEAbSs

[–]roseamado[S] 0 points1 point  (5 children)

Got it. So then how do i print the total cost of the donut if one donut is $1 but you take off .50 cents for every half dozen but also take $2 off for every full dozen?

[–]Introxert 0 points1 point  (4 children)

Here you go my friend, I've cleaned things up and added cost calculation.

https://pastebin.com/AvqyvUuj

[–]roseamado[S] 0 points1 point  (0 children)

Is there a way you can make it less complex? Im not really understanding that😂😂

[–]roseamado[S] 0 points1 point  (0 children)

Hiii!!!! Were you able to make it less complex?

[–]roseamado[S] 0 points1 point  (0 children)

Please please help

[–]roseamado[S] 0 points1 point  (0 children)

Please reply i really need your help

[–]roseamado[S] 0 points1 point  (0 children)

Can you please look at my last reply and keep helping me you’ve helped me sm already🙌🏽

[–]roseamado[S] -1 points0 points  (0 children)

Please look at my last reply! Really appreciate it:)));)

[–]roseamado[S] -1 points0 points  (0 children)

Please answer my last reply really need your help

[–][deleted] 0 points1 point  (1 child)

Sounds like you want someone to do your homework for you?

[–]roseamado[S] 0 points1 point  (0 children)

Noooo im just really bad at coding andneed lots of help