谢谢你们的帮助!以下是完整的代码:D'''
_MBE_
CIS-115-09
Lab 6-1
Write a python program, using modules / functions, to simulate flipping
a coin using a random number generator.
If the random number generator returns a 0 consider that a “tails”,
and a return of a 1 a “heads”.
At the beginning of the program ask the user how many times to flip the coin,
keep track of the total “heads” and “tails” and print the results after
the coin has been flipped the requested number of times.
Allow the user to enter another number of times to flip the coin
and re-run the program.
An input of zero (0) times to flip the coin will terminate the program.
'''
print; printHeader = raw_input("Please enter your name: ")
print; print printHeader, "| Lab 6-1"; print
raw_input("Press