lesson 5_LIST
lesson 5_LIST
Deze slide heeft geen instructies
Watch the 5 Minutes video
Below
Deze slide heeft geen instructies
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!
Deze slide heeft geen instructies
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
Deze slide heeft geen instructies
Deze slide heeft geen instructies
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.
Deze slide heeft geen instructies
Deze slide heeft geen instructies
How well did you understand lists
Quite well
Not wellKeep repeating this lesson
Deze slide heeft geen instructies
Thank you!
Deze slide heeft geen instructies