Computer Studies‎ > ‎Python‎ > ‎Video Tutorials‎ > ‎

10 - Slicing

Watch the following video, and do the examples shown in the video as they are demonstrated.  


Assignment

Write a program that includes a list with the numbers 101-110, then outputs something similar to:

The first two numbers in the list are: numbers separated with commas
The last two numbers in the  list are:  numbers separated with commas
The fourth and fifth numbers in the list are:  numbers separated with commas

Save as 10_Slicing.py

Comments