![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
stupid_Qiu
这个作者很懒,什么都没留下…
展开
-
Python-----基础篇
循环语句 1)示例------无限循环语句 #! /usr/bin/python import time while 1==1: print('OK',time.time()) 2)示例-----有表达式的循环语句 count = 0 while count < 0: print('OK',count) count = count + 1 ...原创 2019-08-18 22:13:32 · 126 阅读 · 0 评论 -
python------杂项篇
一.运算符 1)in 和 not in用来判断某个东西是否为它的子集,比如子字符串 name = "邱佳乐" if "邱" in name: print("OK") else: print("Error") and ,or, not user = "qiujiale" pwd = "babawan1" v = user == "qiujiale" and pwd == "ba...原创 2019-08-18 22:13:08 · 159 阅读 · 0 评论