Welcome to the LPA Python Page

 

Please choose from the following links to help your session today:

Novice students can:

Explain what a variable is

Explain how to assign a value to a variable

Can combine multiple values in an output (String and Variable)

Intermediate students can:

Describe and create a While loop

Create a While loop which repeats a specific number of times

Create a While loop which repeats while a variable is not equal to a specific value

Proficient students can:

Describe and create a For Loop

Use the range() function to control the For loop

Use the range() function to control the number of interations between the start and the end of the loop.

Create a list and print its contents.

Distinguished students can:

Sort the list into alphabetical order

Append items to the list.

Remove an item from the list.

Count the number of times an item is in a list

Insert an item into a list in a certain position

Master students can:

Write to a text file

Read from a text file