We will write code in this example to create the first two lines of a Limerick. We're going to keep it really simple, and ask for 4 inputs:
The place and material must rhyme. The Python program will then output the first two lines of the limerick, substituting the values you've entered.
Example 1:
INPUT:
OUTPUT: I once knew Jane from New York. Her hat was constructed of cork.
Example 2:
INPUT:
OUTPUT: I once knew Agatha from my car. Her bike was constructed of tar.
In [4]:
# Step 2: Write code here
Answer:
Answer:
Answer:
Reflect upon your experience completing this assignment. This should be a personal narrative, in your own voice, and cite specifics relevant to the activity as to help the grader understand how you arrived at the code you submitted. Things to consider touching upon: Elaborate on the process itself. Did your original problem analysis work as designed? How many iterations did you go through before you arrived at the solution? Where did you struggle along the way and how did you overcome it? What did you learn from completing the assignment? What do you need to work on to get better? What was most valuable and least valuable about this exercise? Do you have any suggestions for improvements?
To make a good reflection, you should journal your thoughts, questions and comments while you complete the exercise.
Keep your response to between 100 and 250 words.
--== Double-Click Here then Write Your Reflection Below Here ==--
In [ ]:
# RUN THIS CODE CELL TO TURN IN YOUR WORK!
from ist256.submission import Submission
Submission().submit()