Cody

Problem 1682. Make a list string

Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, and ending with a full stop.

Input x = {'apples' 'oranges' 'pears' 'salmon'}

Output y = 'apples, oranges, pears and salmon.'

Solution Stats

40.74% Correct | 59.26% Incorrect
Last Solution submitted on May 03, 2020

Solution Comments

Problem Recent Solvers44

Suggested Problems

More from this Author1

Problem Tags