how to make simple coin toss using math.random | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to make simple coin toss using math.random

7th Mar 2022, 3:53 AM
Raine Fragata
3 Answers
+ 1
Try??
7th Mar 2022, 4:12 AM
NEZ
NEZ - avatar
+ 1
G'day Raine Fragata could you do a bit of housekeeping first? Please edit your post to have only one or two tags, perhaps the "language" you are working on and "math.random". All those other words look silly. Next: what have you tried (or thought of to try)? Seems to me you might be using python and importing the math module, right? If you have a "minimum working example" we would love it to be linked as a SoloLearn "code bit" (use the plus icon to link code or other Q&A posts). https://www.sololearn.com/discuss/1316935/?ref=app
7th Mar 2022, 4:14 AM
HungryTradie
HungryTradie - avatar
+ 1
Check if the number is even or odd
7th Mar 2022, 4:14 AM
Raul Ramirez
Raul Ramirez - avatar