摘要: pyton 程序内容的颠倒,运用 [](列表)def reverse_string(s): """Returns the reversal of the given string.""" result = "" for char in s: result = char... 阅读全文
posted @ 2014-10-22 20:35 同叔练级之路 阅读(154) 评论(0) 推荐(0)
摘要: import simpleguiimport math# global variablesball_pos = [50,50]ball_radius = 12ball_color = 'red'# help fuctions# classes# define event handlers # ... 阅读全文
posted @ 2014-10-22 14:26 同叔练级之路 阅读(156) 评论(0) 推荐(0)