python复习基本知识

print(x or y)

"""x or y ; x 为 true ,则返回x ,否则返回flase“”“”

and 则相反

优先级比较:not > and > or 

 s = s[0:5:2]

#开始位置下标,结束位置下标,每次跳的个数

原文地址:https://www.cnblogs.com/kangdong/p/9332544.html