+ 5

Write a program that read a number of words from the input and print them in the form of a comma-separated list.

For example, if the input words are in ali and hasan and aria respectively, the printed output should be exactly [ali, hasan, aria].Note that the number of words is unclear and read to the end of the input.

23rd Feb 2018, 6:00 PM
Mohammadhadi Ghassemi
Mohammadhadi Ghassemi - avatar
1 Odpowiedź
0
The Q&A forum is for asking for help with your code, not for getting someone else to pass your code challenge for you. Please share what you’ve tried. If you don’t have even an idea of where to start, reread the lesson immediately before this test question was asked.
13th Apr 2024, 4:01 PM
Wilbur Jaywright
Wilbur Jaywright - avatar