Question: Three strings are read from input and stored into list musicians. Then, three more strings are read from input and stored into list years _

Three strings are read from input and stored into list musicians. Then, three more strings are read from input and stored into list years_played. Lastly, string separator_char is read from input. Use five print(f'') statements to output the following five lines:
"Musicians", with a field width of 13, centered, and followed by '|'. Then "Years Played", with a field width of 13, centered.
26 instances of separator_char.
musicians[0], with a field width of 13, left-aligned, and followed by '|'. Then, years_played[0] with a field width of 13, left-aligned.
musicians[1], with a field width of 13, left-aligned, and followed by '|'. Then, years_played[1] with a field width of 13, left-aligned.
musicians[2], with a field width of 13, left-aligned, and followed by '|'. Then, years_played[2] with a field width of 13, left-aligned.

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!