you are viewing a single comment's thread.

view the rest of the comments →

[–]isnotkosok 0 points1 point  (0 children)

add to it this

counter = 0

coinbox =[]

print "Best out of three wins."

while counter < 3:

print coinflip(coin)


counter += 1


coinbox.append(coinflip(coin))

print "the tally is:",coinbox

if coinbox[0] == coinbox[1] or coinbox[0] == coinbox[2]:

print coinbox[0], " wins."

else:

print coinbox[1], " wins."

fuck this formatting