Computer Science, asked by Anonymous, 1 year ago

please someone please help in making a programme in python to get the output head or tails by using random integer....plzz be fast i hAVE test tmrw

Answers

Answered by Anonymous
2
for range in x(1):
coin=random.randint(1,2)
if coin==1:
          print "head"
else:
         print "tails"

angelmuskan2812: :D
Similar questions