Python exercises on RANGES AND LOOPS

This page lists the 4 exercises about Ranges and loops in Python on our website:

Software: Python
Version: Latest version
Topic: Ranges and loops
Level: Relatively easy
Course: Python programming
Exercise: Use the range and format functions to loop down from 10 to 1 displaying a countdown message.

Go to exercise ...

Software: Python
Version: Latest version
Topic: Ranges and loops
Level: Average difficulty
Course: Python programming
Exercise: Use the range function in an outer loop to find all the primes up to 100 using an inner loop.

Go to exercise ...

Software: Python
Version: Latest version
Topic: Ranges and loops
Level: Average difficulty
Course: Python programming
Exercise: Use the range and format functions to list the square roots of the first 100 integers.

Go to exercise ...

Software: Python
Version: Latest version
Topic: Ranges and loops
Level: Harder than average
Course: Python programming
Exercise: Print out ever-more-accurate estimates of the value of pi using the Leibniz series.

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