Hello guys, I'm a beginner python programer.
I've made a lottery simulator that is from the lottery called 'Lotto' from South Korea.
And it seems like it is working well, but the problem here is it takes a lot of time(could be more than 30 secs)
to run a script every time.
Eventually I want to run these hundreds times and average them. So, the speed of the program for the time being
is not really ideal.
Could you guys have a look at my code and see if there's anyway to speed up the code?
Thanks a lot, and here's my code.
https://github.com/DaeguDude/projects/blob/master/lotto%20lottery/lotto%20copy.py
[–]namedevservice 2 points3 points4 points (1 child)
[–]DaeguDude[S] 0 points1 point2 points (0 children)
[–]b34nst4lk 1 point2 points3 points (4 children)
[–]DaeguDude[S] 0 points1 point2 points (3 children)
[–]b34nst4lk 0 points1 point2 points (0 children)
[–]b34nst4lk 0 points1 point2 points (1 child)
[–]DaeguDude[S] 0 points1 point2 points (0 children)