prog5_17.py

import random

top = random.randrange(2)
if top == 0:
    print("表が出ました!")
else:
    print("裏が出ました!")

# プログラム5-17(コイン投げ)