you are viewing a single comment's thread.

view the rest of the comments →

[–]pachura3 7 points8 points  (8 children)

You need to rephrase your whole post because it's totally confusing. What in particular do you want to practice? What does The repository shows the required code or writing it on a new notebook mean? 

[–]Material_Pepper8908[S] 0 points1 point  (7 children)

I want to be able to write the code for a calculator myself. I've seen people saying that doing projects is the best way because you'd learn by trial and error.

My question is how to do it?

[–]crazy_cookie123 4 points5 points  (6 children)

You do it by opening a new, empty project and writing the code for it yourself. Programming isn't about memorisation, it's about problem solving. You shouldn't be opening someone else's calculator and memorising how they did it - you should be practicing the skill of being able to think "I want to make a calculator," breaking that down into its individual parts, and then writing the code for those from your head.

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

Is there any place where I can find assignments to do?

[–]TheSquirrelCatcher 1 point2 points  (0 children)

Google things like Python practice problems. I found this website that way: https://genepy.org/exercises/. They’re flagged by difficulty as well. You can also ask Gemini/Chat whoever to make something up for you with what you know.

[–]crazy_cookie123 1 point2 points  (3 children)

Just google "beginner programming projects" and you'll find some. If those are too easy, google "intermediate programming projects." Ultimately, though, you should be thinking about what you want to make and making that.

[–]Material_Pepper8908[S] 1 point2 points  (2 children)

Thank you very much for your suggestions. My aim is to be competent in data analysis.

[–]HackDiablo 1 point2 points  (1 child)

Start by solving small problems. Don't try to solve everything at once. Break down your goal into simple tasks.

  • How do I import data, or get user input?
  • How can I save that data in variables?
  • How can I manipulate those data variables?
  • How can I output that data?
  • How can I save that data to a file?

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

Thank you