Question: Python Only Do all of the items below and submit a text file created with the IDLE editor (or other editor) with the extension.py via
Do all of the items below and submit a text file created with the IDLE editor (or other editor) with the extension.py via Canvas. If you run into a problem, post to Canvas describing where you ran into trouble or email your instructor or classroom assistant, or ask your question during recitation hours. If you know the answer to someone's question on Canvas, post a response. You get course credit for asking and answering questions in Canvas. Read the Python tutorial sections 4.1, 4.2, 4.3. The Python tutorial can be accessed through the documentation installed with IDLE: Help Python Docs Tutorial 4. More Control Flow Tools If you are using an alternate IDE, visit: https://docs.python.org/3/tutorial/controlflow.html#more-control- flow-tools to browse the tutorial online. In the Python editor IDLE, create and save a Python file that is named, if your name is Harry Houdini, for example, HW5_HarryHoudini.py and begins with a comment containing your name, class and section, the posting date and number of the homework assignment. 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. Write 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
Get step-by-step solutions from verified subject matter experts
