随笔分类 - Python
摘要:input 输入 print 输出 for 循环 for x in range(0,6): if x<3: print("\nx:",x) else: continue print("\nhello") 4. while 循环 break:跳出循环; continue:跳出本次循环; break:跳
阅读全文
摘要:对 #!/usr/bin/python 和 # -*- coding: utf-8 -*-格式的详细解释是: #!/usr/bin/python 用来说明脚本语言是python的; 要用/usr/bin下面的程序(工具)python,这个解释器,来解释python脚本,来运行python脚本的。 #
阅读全文

浙公网安备 33010602011771号