Flip A Coin From Your Desktop
Wouldn’t it be great to have an app on your desktop that would flip a coin or make a choice from a list of x number of options.
You don’t need to look for an app you can create a simple program in a few minutes.
If you have windows the computer language Python is installed on your computer.
Here’s how to do it:
1. Search for “IDLE” on your computer. You can use Cortana just type in IDLE.
(Eric Idle was a script writer for Monty Python’s Flying Circus and Python was named after the show so the script writer that comes with python and Windows is called Idle)
2. Copy and paste the script below into IDLE.
import randomx = int (input(“How many ? “))print (random.randint(1,x))input (“ “)
3. From the file menu select save as.
4. Give your program a name such as “Flip a coin”.
5. Then select desktop.
6. Save.
To use the program click on “flip a coin”
A screen will appear with the words “How many”
Chose a number. 2 if you want to flip a coin.