1.创建py文件
创建txt文档,然后修改后缀名(如无,点击查看,勾选文件扩展名)
2.头部信息
#!/usr/bin/python# -*- coding:utf-8 -*-
3.逻辑运算符
and (同 &&) or(同 ||) not(同!)