import coin
= coin.fair_flip()
f1 print(f1)
= coin.known_unfair_flip()
f2 print(f2)
= coin.unfair_flip()
f3 print(f3)
print(coin.p)
Tails
Tails
Tails
0.5796354669389273
This is an individual-effort assignment: the code you submit must be written by you; it may not be written by another person nor may it be generated with an algorithm. If you are using a screen reader, speak with your professor.
Put all files for this assignment in your problem_set2
folder and submit them as a zip file named problem_set2.zip
.
This assignment is scored out of 100. There are more than 100 possible points, but the maximum score you can earn on this assignment is 100. Do not get stuck on any one problem, but do complete as many problems as you can.
Pay close attention to the format of output, names of functions, names of files, and names of variables. These errors are common reasons for losing points on problems that otherwise would have been full credit.
Leading (very beginning of output) and trailing (very end output) spaces and newline characters in printed output are ignored during grading.