Well going through your code - here are some observations.
Firstly you do not accumulate the numer of heads and tails occurring so you have no count to show. Secondly, as stated, if you are simply doing something a set number of times in a loop a 'for num in xrange(loops)'
is the simplest construct.
Even if using a while loop as you have, you don't need an infinite loop and a break, in your case "while tries<=100" would be better. Then you drop the indentation so only the last side tossed will be printed and as side can only be 0 or 1 you don't need the 'else : print 'None'.
The code here may give you some ideas - I've included a dictionary, a tuple and a subscript and an augmented assignment when they're not strictly necessary to give you some things to check up on !
- import random
-
tosses={"Heads":0,"Tails":0}
-
for i in xrange(100):
-
tosses[("Heads","Tails")[random.randrange(2)]]+=1
-
print tosses
Hope this helps..