> For the complete documentation index, see [llms.txt](https://www.pythonclassroom.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.pythonclassroom.com/loops/for-loop-range-three-arguments/for-loop-three-arguments.md).

# Problems

## Problem 1

Write Python code that prints odd numbers from 3 - 15 (inclusive).

## Problem 2

Writing Python code that prints the sum of all even numbers from 2 to 100 (inclusive).

## Problem 3

Write Python code that prints the leap years in the first half of this century (2000 - 2050). Determine if 2020 is a leap year.

## Problem 4

Running on a treadmill, you burn 4.5 calories per minute. Write Python code that displays the number of calories burned after 10, 15, 20, 25 and 30 minutes.

## Problem 5

Write Python that code that converts Fahrenheit to Celsius for the following values of Fahrenheit: 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 0.

Use the following formula:

$$
Celsius=\frac{5}{9} (Fahrenheit-32)
$$

## Problem 6

The Voyager 1 space probe was launched by NASA in 1977. It is still operating and is the most distant man-made object from Earth. The probe is traveling at 38,610 mph. (do not use commas when multiplying numbers) Calculate how many miles the probe has traveled every 10 years from 1977 to 2017.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://www.pythonclassroom.com/loops/for-loop-range-three-arguments/for-loop-three-arguments.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
