摘要:
1.直接按名字赋值: my_habit = ['game', 'running']friend_habit = my_habitmy... 阅读全文
posted @ 2022-10-07 20:32
I'm_江河湖海
阅读(8)
评论(0)
推荐(0)
摘要:
一、单引号和双引号 在Python中我们都知道单引号和双引号都可以用来表示一个字符串,比如 str1 = 'python'str2 ... 阅读全文
posted @ 2022-10-07 20:32
I'm_江河湖海
阅读(96)
评论(0)
推荐(0)
摘要:
一、单引号和双引号 在Python中我们都知道单引号和双引号都可以用来表示一个字符串,比如 str1 = 'python'str2 ... 阅读全文
posted @ 2022-10-07 20:32
I'm_江河湖海
阅读(83)
评论(0)
推荐(0)
摘要:
以下实例展示了 count() 方法的使用方法: # !/usr/bin/python3 T = (123, 'Google', '... 阅读全文
posted @ 2022-10-07 20:32
I'm_江河湖海
阅读(51)
评论(0)
推荐(0)
摘要:
Python中的内置数据结构(Built-in Data Structure):列表list、元组tuple、字典dict、集合se... 阅读全文
posted @ 2022-10-07 20:32
I'm_江河湖海
阅读(21)
评论(0)
推荐(0)
摘要:
Python中的内置数据结构(Built-in Data Structure):列表list、元组tuple、字典dict、集合se... 阅读全文
posted @ 2022-10-07 20:32
I'm_江河湖海
阅读(15)
评论(0)
推荐(0)
摘要:
顶顶大名的Guido van Rossum(Python之父)推荐的main写法: #!/usr/bin/pythonimport ... 阅读全文
posted @ 2022-10-07 20:32
I'm_江河湖海
阅读(13)
评论(0)
推荐(0)
摘要:
顶顶大名的Guido van Rossum(Python之父)推荐的main写法: #!/usr/bin/pythonimport ... 阅读全文
posted @ 2022-10-07 20:32
I'm_江河湖海
阅读(31)
评论(0)
推荐(0)
摘要:
内置json模块对于Python内置类型序列化的描述 """Extensible JSON encoder for Python ... 阅读全文
posted @ 2022-10-07 20:32
I'm_江河湖海
阅读(27)
评论(0)
推荐(0)
摘要:
内置json模块对于Python内置类型序列化的描述 """Extensible JSON encoder for Python ... 阅读全文
posted @ 2022-10-07 20:32
I'm_江河湖海
阅读(29)
评论(0)
推荐(0)

浙公网安备 33010602011771号