Help figure out whats wrong with my code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help figure out whats wrong with my code

Heads or Tails simulator, but heads always wins and tails always loses. Still very new to coding, so apologies if it's a stupid, simple mistake. Any other advice would be greatly appreciated as well! Thank you in advance! https://code.sololearn.com/c1KHNd0fq8eY/?ref=app

29th Oct 2017, 9:22 PM
Logan Fitzpatrick
Logan Fitzpatrick - avatar
1 Answer
+ 1
Thank you! I completely forgot that the max number is exclusive. I really like how fast and respectful this community is with helping newcomers, and I will be asking more questions if I get stuck on more exercises. This is really going to help me learn. Thanks again!
29th Oct 2017, 9:48 PM
Logan Fitzpatrick
Logan Fitzpatrick - avatar