まずはこちらが作成コード:
#! c:/Python27/python.exe
# -*- coding: utf-8 -*-
import random
if __name__ == "__main__":
. todays_work = ["リア王を読む.","妖怪学を究める.","ミステリを読む.","このままPythonを続ける.","PHPを究める."]
. print "今日すべきことの選択肢は以下の通り."
. for value in todays_work:
. print "○"+value
. print "必要な乱数を発生させています."
. choice = random.randint(0,(len(todays_work)-1))
. print "結果."
. print "->"+todays_work[choice]
そして実行結果:

$ Python today.py
今日すべきことの選択肢は以下の通り.
○リア王を読む.
○妖怪学を究める.
○ミステリを読む.
○このままPythonを続ける.
○PHPを究める.
必要な乱数を発生させています.
結果.
->リア王を読む.
はい.
暇人大ちゃんでした.
