Project - UK Thunderball killa / Open Source donation Builder - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Development (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=7) +--- Forum: Coding (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=33) +--- Thread: Project - UK Thunderball killa / Open Source donation Builder (/showthread.php?tid=5260) |
Project - UK Thunderball killa / Open Source donation Builder - bitsnpcs - 05-18-2018 Hello, adjusted Lotto killas so it works for the UK Thunderball draw. Screenshot of Thunderball number maker running on Linux Lite in terminal and its code in Gedit. This will pick your 5 number choices from the 39, and then pick your 1 Thunderball number from the 14 numbers. It will also give you real life choices to make (interactive) Here is the code - Code: from random import * Copy/paste in to Leafpad document in Home folder and save as thunder.py Hold down Ctrl and Alt then press t (Ctrl+Alt+t) Copy/paste or type into terminal - Code: python thunder.py Hope you enjoy reading this. Re: Project - UK Thunderball killa / Open Source donation Builder - bitsnpcs - 05-19-2018 Hello, here is the new version of UK Thunderball picker, using less typing in code, and having more comment lines showing what it is doing. Screenshot showing Thunderball picker running on Linux Lite in Terminal, and showing code in Gedit. Here is the code - Code: # imports random function Copy paste the code into a Leafpad document in Home folder named thundernext.py To run the code - Open your terminal by holding down Ctrl + Alt then pressing t (Ctrl+Alt+t) Copy paste or type in to your terminal Code: thundernext.py Press Enter. I hope you enjoyed reading this. |