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