Skip to main content
Frank Tudor's user avatar
Frank Tudor's user avatar
Frank Tudor's user avatar
Frank Tudor
  • Member for 10 years, 9 months
  • Last seen more than 6 years ago
awarded
awarded
awarded
awarded
awarded
awarded
awarded
revised
Lottery number picker
had mega millions and powerball reversed
Loading…
awarded
accepted
comment
Lottery number picker
@jonsharpe (hahaha)...I am also doing all this stuff because its my first python program. I don't know what I am doing yet :)
comment
Lottery number picker
@jonsharpe Ahhhh! Now this will happens even if I am explicit and say 1-50 (because I want 1-50) Python will do 0-49 unless I clip on that +1, is this assumption correct?
comment
Lottery number picker
@jonsharpe Question: In my code there is something I am doing but I don't know what it means. Simplified example random.sample(range(1,50+1),5) That +1 (what does that mean?)
comment
Lottery number picker
Very cool! Ok, I am seeing the dictionary is a very viable alternative here. I was get else if'd out of my mind :)
comment
Lottery number picker
@jonrsharpe Oh I see...I'm going through your notes. Thanks for giving so much feedback.
comment
Lottery number picker
I think it would work on both? I don't think I used anything version specific.
asked
Loading…
revised
JSON call for stock info using YQL
Updated to a fully implemented solution.
Loading…
comment
JSON call for stock info using YQL
Thank you so much. This is absolutely excellent feedback. Not only did you explain my problems but provided 'two' possible solutions for refactoring my code!
accepted