---
title: "Discussion on \"Nested Lists and Dictionaries.\" | Hashnode"
description: "Discussion on \"Nested Lists and Dictionaries.\". Nested Lists in Python\nA list as an item of another list\nA nested list is a list that contains other lists as its elements.\nCode:\n# A list of lists\nnested_list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]\nprint(nested_list)\n\nOutput:\n[[1, 2, 3], [4, 5, 6], [7,..."
url: "https://hashnode.com/posts/nested-lists-and-dictionaries/66b61bb50f204bd3948bac6c"
---

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

Discussion

# [Nested Lists and Dictionaries.](https://nikhilkandi.hashnode.dev/nested-lists-and-dictionaries?utm_source=hashnode&utm_medium=feed)

Nested Lists in Python A list as an item of another list A nested list is a list that contains other lists as its elements. Code: # A list of lists nested\_list = \[\[1, 2, 3\], \[4, 5, 6\], \[7, 8, 9\]\] print(nested\_list) Output: \[\[1, 2, 3\], \[4, 5, 6\], \[7,...

Aug 9, 2024 · 6 min read · nikhilkandi.hashnode.dev  
Read the article

## Written by

[Nikhil Reddy Kandi](https://hashnode.com/@nikhilkandi)

@nikhilkandi

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
