#coinFlip Flips a coin 10 times
#Alec Harmeling

import random

heads = 0
tails = 0

flip = random.randint(1,2)

if flip == 1 :
    heads += 1

if flip == 2 :
    tails += 1

print(flip)

flip = random.randint(1,2)

if flip == 1 :
    heads += 1

if flip == 2 :
    tails += 1

print(flip)

flip = random.randint(1,2)

if flip == 1 :
    heads += 1

if flip == 2 :
    tails += 1

print(flip)

flip = random.randint(1,2)

if flip == 1 :
    heads += 1

if flip == 2 :
    tails += 1

print(flip)

flip = random.randint(1,2)

if flip == 1 :
    heads += 1

if flip == 2 :
    tails += 1

print(flip)

flip = random.randint(1,2)

if flip == 1 :
    heads += 1

if flip == 2 :
    tails += 1

print(flip)

flip = random.randint(1,2)

if flip == 1 :
    heads += 1

if flip == 2 :
    tails += 1

print(flip)

flip = random.randint(1,2)

if flip == 1 :
    heads += 1

if flip == 2 :
    tails += 1

print(flip)

flip = random.randint(1,2)

if flip == 1 :
    heads += 1

if flip == 2 :
    tails += 1

print(flip)

flip = random.randint(1,2)

if flip == 1 :
    heads += 1

if flip == 2 :
    tails += 1

print(flip)

input("\n\nPress enter to exit")
