Printing a drop down menu for a specific field.
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Sat Oct 26 12:09:36 EDT 2013
On Sat, 26 Oct 2013 18:40:52 +0300, Nick the Gr33k wrote:
> Can someone write this properly? i tried but cannot make it work.
Start by writing down what problem you are trying to solve with this
code, and what you expect the code to do. In detail. What input data does
it take, what result should it produce.
Then write down, in Greek, how *you* would solve this problem, again, in
detail. What steps would *you* take? If you don't know how to solve the
problem in real life, how do you expect to write instructions for a
computer to solve it?
Once you know how to solve the problem yourself, then you need to change
those steps into steps the computer can perform. Then, and only then,
should you even think about writing Python code.
That is what programmers do. Since you want to be a programmer, you need
to learn how to do this. Good luck! It's lots of hard work, and sometimes
time consuming. That's all part of the job.
--
Steven
More information about the Python-list
mailing list