r/pythonhelp • • Nov 24 '22

Python function

Hi Guys, I am learning Python coding and I meed help with my assignment. Can somebody pls help me? Thanks !

0 Upvotes

4 comments sorted by

View all comments

2

u/CraigAT Nov 24 '22

Generic advice:

Try to break down your program into general stages, e.g. gathering input, do some calculations, display some output. Then try splitting these stages down into slightly more detailed steps or tasks, write them down (in order) to help yourself understand the flow of the program, keep breaking the steps down until they cannot be broken down further and are roughly equivalent to a single line of code. Once you have this, your work is mostly about your knowledge of Python and translating your words into code.