Share your repls and programming experiences

← Back to all posts
heads or tales
szychowski (0)

classic old game on coumputer

Codemonkey51 (1047)

AWESOME! I have three suggestions:
1) make it not let you put in something either than heads or tails, like make it so it asks for input again if it's not heads or tails
2) make it input("heads or tails? ") so it looks better when you use the program.
3) put a while(1): loop around it (aka forever loop)