Question: Write a Python program using Python 3.6.2. The program should be saved as a text file with the extention '.py'. The program should have the

Write a Python program using Python 3.6.2. The program should be saved as a text file with the extention '.py'.

The program should have the following three for loops:

1. Create a list named months of the months of the year. Write a for loop that iterates over the elements of months and prints out each one that begins with letter J, one month per line.

2. A for loop that iterates over all of the integers in the range 0 through 99, inclusive, and prints out all of those numbers that are divisible by both 2 and 5.

3. Consider the strings created by these assignment statements:

horton = "A person's a person, no matter how small."

vowels = "aeiouAEIOU"

Write a for loop that prints out all the vowels in horton in the order they appear in horton.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!