lesson 5_LIST
lesson 5_LIST
This item has no instructions
Watch the 5 Minutes video
Below
This item has no instructions
Lists are used to store series of Elements
grade= [65,75,89,90]
This list is called grades and has 4 elements
print ( grade[0])
This will print out the list.
Try IT!
This item has no instructions
The Link shows you how to handle list
Try it on "onlinegdb"
Inputting into a list
Here we are requesting user to enter data into a list
This item has no instructions
This item has no instructions
Run the program above Modify for 1. Three names only 2. print the is out 3. print the list out 1 by 1
The indentations are mot show up properly!
Compare with your answer
Modify your program to enter 4 groups with five sets of marks.
This item has no instructions
This item has no instructions
How well did you understand lists
Quite well
Not wellKeep repeating this lesson
This item has no instructions
Thank you!
This item has no instructions