Member-only story
Learn Python Programming with Examples — Post#5
List, Tuple, Dict and Set keywords usage.
The four keywords (‘list’, ‘tuple’ , ‘dict’, ‘set’ keywords) for the important form of grouping items, numbers or objects in the Python programming environment.
Previous Post Practice Problem Program solution
Before discussing content of this post, it is considered a good idea to give the program solution of the previous post practice problem. View a version of the program solution given below:
The ‘list’ keyword usage
In Python, a list of numeric values or items are enclosed within the square brackets (‘[ ]’). A list in Python is an ordered and mutable (meaning the values in a list can be changed as needed). The ‘List’ keyword in Python is the most used keyword among the various collection of items usage.
Notes: An element of item of a list can be accessed by using the sequence number count starting at ‘0’ of the given list content in the same ascending order of the given sequence within the list. For example, the third element ‘3’ of the ‘alist’ in the…










