Python exercises on SEQUENCES

This page lists the 7 exercises about Sequences in Python on our website:

Software: Python
Version: Latest version
Topic: Sequences
Level: Relatively easy
Course: Python programming
Exercise: Use a list to store items in a shopping list, print them out and change one.

Go to exercise ...

Software: Python
Version: Latest version
Topic: Sequences
Level: Relatively easy
Course: Python programming
Exercise: Use different slicing techniques to extract the names of animals from strings of text.

Go to exercise ...

Software: Python
Version: Latest version
Topic: Sequences
Level: Relatively easy
Course: Python programming
Exercise: Loop over the items in a range which are divisible by one number but not another.

Go to exercise ...

Software: Python
Version: Latest version
Topic: Sequences
Level: Average difficulty
Course: Python programming
Exercise: Create a tuple containing a list, a string and an integer, then list its contents.

Go to exercise ...

Software: Python
Version: Latest version
Topic: Sequences
Level: Average difficulty
Course: Python programming
Exercise: Create a list of all of the words in a speech, and loop over it printing certain ones.

Go to exercise ...

Software: Python
Version: Latest version
Topic: Sequences
Level: Average difficulty
Course: Python programming
Exercise: Practise slicing and looping on a list of the most common English words.

Go to exercise ...

Software: Python
Version: Latest version
Topic: Sequences
Level: Harder than average
Course: Python programming
Exercise: Create a list of numbers which can not be expressed as a sum of an integer and its sum of digits.

Go to exercise ...

You can search our full list of Python exercises here, or why not have a look at our other Python training resources?

This page has 0 threads Add post