Lists

--Originally published at Newbie Programmer

ingredients-list-icon-icon-search-engine-10In this blog we introduce to create lists on python 3.

With a list you can use to group values.The list can be written as a list of comma-separated values (items) between square brackets.

l1l2

Indexing.

l3l4

Adding items.

l5l6

Changing the value of a character from the list.

l7l8

Append function, add items at the end of the list.

l9l10

Using slices to change values.

l11l12

Len function, counts how many items are in the list.

l13l14

Source: https://docs.python.org/3/tutorial/introduction.html