Question: Read strings visited _ list _ name, place 1 , place 2 , and place 3 from input. Then assign places _ visited _ str
Read strings visitedlistname, place place and place from input. Then assign placesvisitedstr with the concatenation of the following:
visitedlistname
:
place
place
place
Click here for example
Ex: If the input is:
States I've been to
Kansas
Alaska
Iowa
then the output is:
States I've been to: Kansas, Alaska, Iowa
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
