Lesson 5 _ Lists

lesson 5_LIST 


1 / 12
next
Slide 1: Slide
New lesson editorProgrammingFurther Education (Key Stage 5)

This lesson contains 12 slides, with interactive quizzes and text slides.

time-iconLesson duration is: 120 min

Items in this lesson

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

1


2

Quite well

3

Not wellKeep repeating this lesson

This item has no instructions

Thank you!


This item has no instructions