My issue with this code is that when it is executed it does loop correctly. It just runs once and my goal is to have it run 100 times. I am using Python version 3.1 and could really use some help... Considering I am the only geek with in a 100 miles... You guys are my only hope. :P
flip = int((0))
import random
print("Lets flip a coin 100 times and count how many heads and tails we get")
print("\a")
while flip != 100:
flip += 1
coin = random.randint(1, 2)
head = 0
tail = 0
if coin == 1:
head += 1
else:
tail += 1
print("Heads", head)
print("Tails", tail)
input()