G+_Darryl Medley Posted April 12, 2014 Share Posted April 12, 2014 Python Shopping List demo. This is a shopping list creation program that shows how to add, change and delete list members and even shows how to use a list within a list. The source features lots of comments that explain everything in detail. https://github.com/Darryl-Medley/Coding-101/blob/master/ShoppingList.py https://github.com/Darryl-Medley/Coding-101/blob/master/ShoppingList.py Link to comment Share on other sites More sharing options...
G+_L I Posted April 13, 2014 Share Posted April 13, 2014 I think this program will be perfect for when they get into hashes - that way you won't need the sublists and the extra list to search for the names. Link to comment Share on other sites More sharing options...
G+_Darryl Medley Posted April 14, 2014 Author Share Posted April 14, 2014 I hope they get into hashes / dictionaries. I could have done that but since the purpose of this pgm was to demo lists to beginners, I wanted to use as many lists as possible and try to only use things that they have mentioned on the podcasts so the code would be easy to follow. I appreciate the suggestion though. I'm new to Python so there's lots of tricks I don't know yet. Link to comment Share on other sites More sharing options...
G+_L I Posted April 14, 2014 Share Posted April 14, 2014 I'm new to it too, I've been learning about the extra structures by reading online and looking at some of the other examples posted here. They're very helpful. Link to comment Share on other sites More sharing options...
G+_Darryl Medley Posted April 17, 2014 Author Share Posted April 17, 2014 Featured program on episode 13 FTW! Snubs & Padre - Thanks! Padre mentioned that it looks like I know Python. Funny thing is that this was my first Python program - but I've been coding for 30+ years. It proves the point that once you learn the concepts of coding, the language doesn't matter that much (especially now that you can Google anything). Link to comment Share on other sites More sharing options...
Recommended Posts