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")
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter