Lesson 5 _ Lists

lesson 5_LIST 


1 / 12
volgende
Slide 1: Tekstslide
newEditorProgrammingFurther Education (Key Stage 5)

In deze les zitten 12 slides, met interactieve quizzen en tekstslides.

time-iconLesduur is: 120 min

Onderdelen in deze les

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

1


2

Quite well

3

Not wellKeep repeating this lesson

Deze slide heeft geen instructies

Thank you!


Deze slide heeft geen instructies