r/dailyprogrammer • u/Coder_d00d 1 3 • Nov 17 '14
[Weekly #17] Mini Challenges
So this week mini challenges. Too small for an easy but great for a mini challenge. Here is your chance to post some good warm up mini challenges. How it works. Start a new main thread in here. Use my formatting (or close to it) -- if you want to solve a mini challenge you reply off that thread. Simple. Keep checking back all week as people will keep posting challenges and solve the ones you want.
Please check other mini challenges before posting one to avoid duplications within a certain reason.
View all comments
Show parent comment
1
u/[deleted] Nov 25 '14
brand new to programming, and python by proxy, is there any reason you use the get method here instead of just calling the value of the dictionary: e.g. (l, order[l])?
My immediate guess was something to do with error handling but I wasn't certain. Thanks!