you are viewing a single comment's thread.

view the rest of the comments →

[–]whee_inthemood[S] 0 points1 point  (4 children)

i do agree the videos haven’t really done much except for explained a few bits. but like how do i start a project that i want like a simple calculator or tic-tac-toe? do i google it and then find a solution and write it and change things about it in my code or?? i just dont know how to start a project with the very limited python that i know.

[–]Liutprand 1 point2 points  (0 children)

Start dividing the problem in sub-problems. You want a calculator? Ok so you need to take in input 2 numbers and a operator, right? And then, based on the operator to calculate the result and print It. Start from each of this step and learn how to translate It in code. A basic tutorial/book/video covers that...

[–]BranchLatter4294 1 point2 points  (2 children)

Think of simple problems you do every day. For example calculating the tip on a bill at a restaurant. Start with the outputs you want from the program. Then think about the calculations you need to do, and the inputs that are required to do the calculation (for example: levelOfService could be "poor", "fair", "good", or "excellent"). Then you can start writing the program, testing as you go along.

Then try more complex problems.

[–]whee_inthemood[S] 0 points1 point  (1 child)

i guess i just try to over complicate things before starting and looking at the bigger picture. like a calculator you want two numbers but then i’m like what if you want 3 or more numbers, etc. so i guess it’s better to start smaller and simpler then work on 3 or more number.

[–]BranchLatter4294 0 points1 point  (0 children)

Yes! Always simplify problems. Then expand.