Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

hello everyone, am learning python here, and also learning it in school as a course. please i have a semester work th

hello everyone, am learning python here, and also learning it in school as a semester course. please i have a semester work. "CAFE" . writing a program on cafe.

please i don't even know how to start up. i will appreciate if someone can give me ideas and steps on how to start it up

What exactly are the criteria of this program? What is it supposed to accomplish? Should you be standing in a line in a Cafe waiting to place your order? After placing your order should it return said order? If this is the case there is a vending machine course in python on Treehouse that would be suited to your needs. More info is needed though in order to help you further.

2 Answers

Should you be standing in a line in a Cafe waiting to place your order? After placing your order should it return said order?

exactly that is the case. how do i go straight to the vending machine course?

It's in Library > Tracks > Python Collections > Lists . I would do that course if you have already done Python basics or at least have a basic grasp on Python. This should be enough to make your program. 1) You need a list for the items you will serve.

2) Some kind of Queue that will print to the console when it is your turn to order.

3) A simple print(Your Choice Here) function to the console, to show the item you have selected.

Hope this helps!

yes sir, it was a bit helpful. but am currently doing python collection now and i have came across list but there is no clue like that on writing that program