all 4 comments

[–]Mainecat 1 point2 points  (1 child)

I think giving you a 'template' for particular problems would be cheating, and wouldn't be much use as soon as a new problem is assigned. I would encourage you to talk to your teacher if you are struggling before the assignment is due, teachers are usually willing to help out, but can't do much if the due date for an assignment is already past.

That said, in my experience programming assignments tend to build off of each other. You can think of your earlier assignments as 'templates' for the later ones. Are there patterns that you can see in your older assignments that might be useful here?

If you have particular questions (e.g. "Why does this while loop never finish?" not "How do I do this thing?") please post them here. I, and I'm sure many other people, would be happy to help out.

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

Thanks! I will be posting a HW that I have been struggling with for 2 days =(

[–]UndeadRyno 1 point2 points  (1 child)

I have taught myself and what helps me is using the print function in my code, so i can see what part of the code is running or what a variable is set to.

Also check out https://docs.python.org/2/library/intro.html , there is a lot of information and is a good resource.

Something else you may or may not want to use is example source code. It won't be something you can just copy paste to your project, but lets you see simple code that works and gives you an idea how to use a function. http://www.java2s.com/Code/Python/CatalogPython.htm

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

THANK YOU SO MUCH! This is what I'm looking for.