---
title: "Discussion on \"Python -- List\" | Hashnode"
description: "Discussion on \"Python -- List\". 什么是列表\n列表由一系列按特定顺序排列的元素组成。 你可以创建包含字母表中所有字母、数字0～9或所有家庭成员姓名的列表；也可以将任何东西加入列表中，其中的元素之间可以没有任何关系。\nbicycles = ['trek', 'cannondale', 'redline', 'specialized']\n\n\n创建数值列表\n使用range()\nnumbers = list(range(1,6))\n\n输出结果：\n[1, 2, 3, 4, 5]\n\n\n还可以添加步长\nnumbers = list(range..."
url: "https://hashnode.com/posts/python-list/63d67635b76cc420d7de80e8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Python -- List](https://yuannn.hashnode.dev/python-list?utm_source=hashnode&utm_medium=feed)

什么是列表 列表由一系列按特定顺序排列的元素组成。 你可以创建包含字母表中所有字母、数字0～9或所有家庭成员姓名的列表；也可以将任何东西加入列表中，其中的元素之间可以没有任何关系。 bicycles = \['trek', 'cannondale', 'redline', 'specialized'\] 创建数值列表 使用range() numbers = list(range(1,6)) 输出结果： \[1, 2, 3, 4, 5\] 还可以添加步长 numbers = list(range...

Jan 29, 2023 · 3 min read · yuannn.hashnode.dev  
Read the article

## Written by

[Kivi Yuan](https://hashnode.com/@Yuannn)

@Yuannn

  
[View profile](https://hashnode.com/@Yuannn)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
