Python 基础
初识Python注释 单行注释:# 注释内容 多行注释:""" 注释内容 """ 变量格式:变量名 = 数据值 12a = 10print(a) 数据类型Python中有6种常用的值类型: 数据类型 描述 数字(Number) 整数(int)、浮点数(float)、复数(complex)、布尔(bool) 字符串(String) 由一组任意字符组成 列表(List) 有序的可变序列 元组(Tuple) 有序的不可变序列 集合(Set) 无序的不重复集合 字典(Dictionary) 无序的Key-Value集合 查看数据类型使用type()可以查看数据类型: 1234567891011121314151617181920# Numberprint(type(10))print(type(3.14))print(type(3 + 4j))print(type(True))# Stringprint(type("abc"))# Listprint(type([1,...
Hello Hexo
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment