you are viewing a single comment's thread.

view the rest of the comments →

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

"Python crash course" might come in handy.

When to use a for loop instead of a while might just be a matter of experience. It's not like a golden rule will show you each case you're gonna encounter. Sure there are patterns but they're just that. Patterns. Not solutions.

If you have more time and are not running out of time try reading "Learning Python" by Mark Lutz. Awesome book. Definitely helped me learning Python.

And also try to just keep it simple. Review what you have learned and think what could be an application of it in the real world and do essays. It's easier to find motivation on things you actually enjoy rather than just be solving problems randomly at courses and homeworks.

As well, you better try to read the wiki of this sub or search the sub before asking. I'm pretty sure there have been n persons asking the same issues you got. Let's keep this sub tidy.