JavaShuo
栏目
标签
python基础 - 序列(list、str、tuple)
时间 2021-01-07
栏目
Python
繁體版
原文
原文链接
1.列表 (有序、可变序列,列表的所有元素放在一对中括号“[]”中,并使用逗号分隔开) 1.1 列表生成方式: (1) [1,2,3,'xx',(1,2),{'name':'cc'}] 列表中可以存放各种数据类型 (2) 列表推导式:n_list = [ x**2 for x in range(10) if x%2 == 0] ==> [1,4,
>>阅读原文<<
相关文章
1.
python 基础 day02—列表List / 元组Tuple
2.
Python基础数据结构(list, str, tuple, dict)
3.
Python3基础 内置函数 eval str转为list tuple dict
4.
Python基础学习2:List、Tuple和String
5.
Python基础-使用list和tuple
6.
Python基础 List和Tuple类型
7.
Python基础回顾:List vs Tuple
8.
list,tuple,set,dict基础
9.
python TypeError can only concatenate tuple not str to tuple
10.
【Python】 list & dict & str
更多相关文章...
•
Scala List(列表)
-
Scala教程
•
Scala 基础语法
-
Scala教程
•
算法总结-归并排序
•
Kotlin学习(二)基本类型
相关标签/搜索
list&tuple
str
tuple
基础系列
Python基础-10
Python基础 05
Python基础
Python基础 06
Python基础 04
Python基础 09
Python
PHP 7 新特性
Redis教程
MySQL教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
springboot在一个项目中启动多个核心启动类
2.
Spring Boot日志-3 ------>SLF4J与别的框架整合
3.
SpringMVC-Maven(一)
4.
idea全局设置
5.
将word选择题转换成Excel
6.
myeclipse工程中library 和 web-inf下lib的区别
7.
Java入门——第一个Hello Word
8.
在chrome安装vue devtools(以及安装过程中出现的错误)
9.
Jacob线上部署及多项目部署问题处理
10.
1.初识nginx
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
python 基础 day02—列表List / 元组Tuple
2.
Python基础数据结构(list, str, tuple, dict)
3.
Python3基础 内置函数 eval str转为list tuple dict
4.
Python基础学习2:List、Tuple和String
5.
Python基础-使用list和tuple
6.
Python基础 List和Tuple类型
7.
Python基础回顾:List vs Tuple
8.
list,tuple,set,dict基础
9.
python TypeError can only concatenate tuple not str to tuple
10.
【Python】 list & dict & str
>>更多相关文章<<