Question: My current code is: msg=input(Enter message: ) for c in msg: print('***',5*c,'***') However, it is wrong because Write a program that asks the user for

My current code is:
msg=input("Enter message: ") for c in msg: print('***',5*c,'***')
However, it is wrong because

Write a program that asks the user for a message and then prints the message out, five copies of each character per line surrounded by three stars '***' on each side. A sample run of your program should look like: Enter a message: I love Python! *** I I I I I *** *** l l l l l *** *** O OO *** *** v vvv v *** *** ee eee *** *** PPPPP*** *** y yy yy *** *** t t t tt *** *** hh hh h *** *** OOOOO *** *** nnnnn*** *** ! ! ! ! ! *** And another sample run: Enter a message: Mihi cura futuri *** MMMMM *** *** i iii i *** *** hhhhh *** *** i ii ii *** W** RE DUHE USHC HEO * uuuuu ** ttttt*** ** u u u u u *** *** r r r r r *** *** i iii i *** Tests random 10 letter input. (0.0/2.0) Your program printed: * * * * * * * * * * * * * * * * * * * * * * Enter message: *** bbbbb *** * hhhhh ** * qqqqq * ttttt lllll aaaaa wwwww *** * YYYYY * rrrrr *** * * * * * * * * * * * * * * * * * * * * * * * * Input: bhqtlawyyr. Expected output: * * * * * * * * * * * b b b b b ** *** hh hh h *** qqqqq *** t t t t t *** 1 1 1 1 1 a aa a a Wwwww y y y y y * Y yy yy ** * r r r r r *** Test Failed: False != True * * * * * * * * * * * * *
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
