paint-brush
A Complete Guide to Python Listsby@smpnjn
612 reads
612 reads

A Complete Guide to Python Lists

by Johnny Simpson6mOctober 2nd, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Lists are a fundamental data type in Python. To create a list in Python is super easy to do with a simple list. Lists can also be nested or used to sort lists. List Methods in Python come with built-in methods to allow us to fully realize their potential as data stores. For example, to get the length of a list, we can use the 'len()' function to get it to the length. If you've created a list you'll want to add a new item to it, you'll need to use the append() function.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - A Complete Guide to Python Lists
Johnny Simpson HackerNoon profile picture
Johnny Simpson

Johnny Simpson

@smpnjn

Product, Engineering, Web

About @smpnjn
LEARN MORE ABOUT @SMPNJN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Johnny Simpson HackerNoon profile picture
Johnny Simpson@smpnjn
Product, Engineering, Web

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Coffee-web
Tefter
Freshnews
Mchone