Heads or Tails
Mon Sep 25 2023 19:18:24 GMT+0000 (Coordinated Universal Time)
Saved by
@Duhita0209
print("Welcome to Heads or Tail")
print("We're always here to solve your problem \n")
import random
toss_answer = random.randint(0, 1)
if toss_answer == 0:
print("Sorry Bad Luck Tails, Heads won")
else:
print("Sorry Bad Luck Heads, Tails won")
content_copyCOPY
Comments