摘要:
原博客地址 1、代码 1 #pythonz中的字符串可以用单引号''和双引号""标示 2 strA = 'This is string A' 3 strB = "This is string B" 4 print('strA = ' + strA) 5 print('strB = ' + strB) 阅读全文
posted @ 2016-11-29 23:26
一罐热茶
阅读(288)
评论(0)
推荐(0)
摘要:
出处: Hongten的博客 Vamei的博客 1、for循环 GUI中的代码: 1 #基本的for循环语句 2 test_list = [2,4.4,'Liu','A',"B",'HelloPy',"Today"] 3 #打印列表的长度 4 print(len(test_list)) 5 for 阅读全文
posted @ 2016-11-29 12:29
一罐热茶
阅读(191)
评论(0)
推荐(0)
摘要:
原博客地址 1、新建一个 .py文件,如test_hello.py; 2、右键,Edit with IDLE(即Python GUI) 3、编写代码 hello = "hello" print(hello) ##################################### test_lis 阅读全文
posted @ 2016-11-29 11:39
一罐热茶
阅读(490)
评论(0)
推荐(0)
浙公网安备 33010602011771号