摘要:
1. list比较熟悉了,但是list的函数们还不清楚,参考http://docs.python.org/2/tutorial/datastructures.html2. for和while经验是尽量少用while,因为while出错的机会大。3. 综合起来写的一个小程序from sys import exitdef gold_room(): print "This room is full of gold. How much do you take?" next = raw_input("> ") if "0" in next 阅读全文
posted @ 2013-03-19 18:27
赵乐ACM
阅读(300)
评论(0)
推荐(0)
浙公网安备 33010602011771号