1 Task

Write a program called nonsense.py. When run, it should

  1. ask the user to type their favorite word
  2. print that word 12 times on a single line
  3. print "word" doesn’t even sound like a word anymore

2 Example Runs

2.1 Example 1

What's your favorite word? elbow
elbow elbow elbow elbow elbow elbow elbow elbow elbow elbow elbow elbow 
"elbow" doesn't even sound like a word anymore.

2.2 Example 2

What's your favorite word? prandial
prandial prandial prandial prandial prandial prandial prandial prandial prandial prandial prandial prandial 
"prandial" doesn't even sound like a word anymore.

3 Troubleshooting

In this and every other assignment all semester long, every input('some prompt: ') must end in either a colon or a question mark, and then a space (like the ': ' in the example above). Failure to follow this rule will result in loss of points.

4 Thought Question

There are at least two solutions to this problem; one has many commas in the code and one has few if any. If you wrote one, see if you can also find and write the other. Just submit one of the two.