python基本语法(1)
来源:互联网 发布:php 不识别utf8 编辑:程序博客网 时间:2024/06/06 05:50
- python中的关键字:
‘and’ ‘as’ ‘assert’ ‘break’ ‘class’ ‘continue’ ‘def’ ‘del’ ‘elif’ ‘else’ ‘except’ ‘except’ ‘exec’ ‘finally’ ‘for’ ‘from’ ‘global’ ‘if’ ‘import’ ‘in’ ‘lambda’ ‘not’ ‘or’ ‘pass’ ‘print’ ‘raise’ ‘return’ ‘try’ ‘while’ ‘with’ ‘yield’ - python中没有表示常量的,你可以吧变量大写,表示是常量,是可以改的。但
- python 2中定义自己的字符编码:# -- coding:utf-8 --
- python 3就不用。
python的注释:单行:# 多行:“ ”” “ ””or”’ ”’ - python2中的raw_input(只在2中是生效的)和python3中的input效果是一摸一样的
- python2中的Input:接收是什么格式就是啥格式(接收的数据不带双引号,就当是变量,带双引号
阅读全文
0 0
- python基本语法(1)
- Python基本语法1
- Python基本语法1(基础知识)
- python 基本语法(一)
- python基本语法(二)
- python学习(二):python基本语法
- Python 快速入门(上) - 基本语法
- python学习(2)基本语法
- Python学习(一)基本语法
- Python学习(二)、基本语法概览
- python基本语法 运用(2)
- Python学习笔记(一):基本语法
- python基本语法笔记(完结)
- python学习笔记(一)基本语法
- python 基础(一)基本语法
- Python基本语法
- Python基本语法
- 回顾python基本语法
- [多线程]NSThread, NSOperation 和 GCD
- 设置谷歌浏览器的flash 插件
- Solr linux安装配置
- Gym
- POJ 3342 Party at Hali-Bula(树的最大独立集)
- python基本语法(1)
- Airlines — 2
- 职场历程记 2017-09-01
- SonarQube与SonarRunner安装配置
- maven常见问题问答
- 数组中的逆序对
- Tinker热更新
- Android 源码解析 之 setContentView
- 欢迎使用CSDN-markdown编辑器