Assignment
Assignment 3.1
Assignment 3.1
Completion requirements
Receive a grade
Coin flip tosser
- Create a program that will print a random 0 or 1.
- Instead of 0 or 1, print heads or tails. Do this using if statements.
- Add a loop so that the program does this 50 times.
- Create a running total for the number of heads flipped, and the number of tails.
Create a new program, test it and upload it using your name and followed by AS3.1 in the programs file name. As an example a programs filename could be Name_Surname_AS3.1.py
For your effort you will be graded and you will have another try if you want to get a better grade. Passing grade is 60%.
A starting example - it is not the complete code. There is help inside the comments.
Search for random command here