0% found this document useful (0 votes)
3 views1 page

Intro To Python - HW - 7

Uploaded by

gogo.america2015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Intro To Python - HW - 7

Uploaded by

gogo.america2015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

7/24/24

Python Beginners I
Tuesday& Thursday 6:30 to 7:30 PM
Hello Parents and Students,

Today, we began by learning about the for loop (also called a repeat loop), which is used in
programming to repeat a task a set number of times.To practice this concept, we created a "Odd or
Even" project that runs 20 times using the for loop. Students used conditionals inside the loop to check
whether a number is odd or even.

We then extended the idea of repetition by writing a program to find the multiples of a given number
using a for loop. Students practiced identifying patterns and using the loop to generate sequences.

For homework, I would like the students to:

Create a program that:

 Asks the user to enter a number

 Uses a for loop to find and display all the factors of that number

As always, you can send any questions to [email protected] with "Mr. George” in
the subject line.

Regards,
Mr. George

You might also like