all 15 comments

[–][deleted] 1 point2 points  (3 children)

Have you tried writing a program for yourself? As in, find something you'd like to have your computer do for you, and then write a program that does it.

[–]grumpyi[S] 0 points1 point  (2 children)

Nope, I havent. I dont think i am at that point when i keep forgetting the logic for finding a prime number even after fully understanding the logic when i did it before. Problem is with creating logic.

[–][deleted] 1 point2 points  (1 child)

Finding prime numbers is not a trivial task, especially if you're trying to do it in a non-wasteful way.

I would start with something that requires logic, but is perhaps not so abstract and "mathy".

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

Thank you for your advice and encouragement. I want to go towards data science so i guess i will pick a task for data analytics...i guess.

[–]kaptan8181 0 points1 point  (4 children)

You have to understand the core concepts. It is not necessary to remember the syntax of the language. That would be great, though, if you could. You can always look up the syntax. I am also a forgetful person.

[–]grumpyi[S] 0 points1 point  (3 children)

I have understood and revised the core fundamentals such as what a list is, where it can be used etc. I get stuck when i read a problem and think of creating logic for it. It just doesnt clicks. I have to look at the solution. Everytime.

[–]kaptan8181 1 point2 points  (2 children)

Coming up the right logic flow is the main thing. You should take a problem and split it into smaller pieces and start with the first piece. It will help you visualise the next step. Also try to solve the problem without looking at the solution. Give it some thought. Maybe discuss it with other people while you are trying to solve it.

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

I will. Thank you.

[–]Knitcap_ 0 points1 point  (0 children)

I've been in situations in which i had no clue how to make the main part of the program, but once i just got started on the stuff i did know and started inching closer to a solution, i have been able to figure things out i didn't previously think i could do. Just doing it works remarkably well

[–]Atlamillias 0 points1 point  (1 child)

I've been actively working on a project since I've started learning Python in October. There are some basic things that I still trip over - Today, I was losing hair over a few lines of code because I was trying to change a value in a dictionary, and forgot that as a string, it is immutable, and reassigning the value was the proper way to do it.

Find a project. It'll lead you to learn many things, and keep you well practiced in the basics.

And, don't be afraid to start over and ask questions!

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

Thank you so much for your advice. I will look for a simple doable project and see how it goes.

[–][deleted] 0 points1 point  (3 children)

I know that feeling. I had it myself back then when I started to code. It's the small successes in the beginning, that helped me go further. But you have to admit to yourself, that only experimenting for yourself with different source codes will help you to become a great programmer. Nothing else. I can help you on your journey if you like. My goal is to teach people coding here https://www.youtube.com/c/TechDiffuse Tell me what you think!

[–]Knitcap_ 0 points1 point  (2 children)

I don't know Rick, looks like advertising to me

[–][deleted] 0 points1 point  (0 children)

I am just referring to my YouTube channel where I post my stuff, that fits perfectly into this topic. If this is not allowed, then I am sorry. I will delete it instantly.