teambook

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2017年9月13日

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-09-13 18:02 teambook 阅读(3) 评论(0) 推荐(0)

摘要: ## 定义list数组lstrs = ['t1','t2','t3','t4']print('lstrs is',lstrs) i = 0## test for loopfor lstr in lstrs: print('lstrs[%d] is' % i,lstr ) i = i + 1print 阅读全文
posted @ 2017-09-13 18:01 teambook 阅读(164) 评论(0) 推荐(0)

摘要: ## 输入name##name = input('What is your name ')name = 'stan' ## test for if,elifif name == 'stan': print('1. yes , your are stan' ) print('here is if')e 阅读全文
posted @ 2017-09-13 18:00 teambook 阅读(143) 评论(0) 推荐(0)

摘要: ## 引用输入,并在引用输入时显示文字name = input('What is your name ')## name = 'stan' print('your name is', name ) ## /为精确除法,//为整除,只留整数部分,%为取余数print('10/3 =',10/3)pri 阅读全文
posted @ 2017-09-13 17:59 teambook 阅读(241) 评论(0) 推荐(0)

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-09-13 17:29 teambook 阅读(2) 评论(0) 推荐(0)

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-09-13 17:22 teambook 阅读(2) 评论(0) 推荐(0)

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-09-13 17:08 teambook 阅读(2) 评论(0) 推荐(0)

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-09-13 17:01 teambook 阅读(1) 评论(0) 推荐(0)

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-09-13 16:54 teambook 阅读(12) 评论(0) 推荐(0)