Cody

Problem 1682. Make a list string

Created by Chris in Community

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

48.96% Correct | 51.04% Incorrect
Last solution submitted on Jan 08, 2019

Solution Comments

Recent Solvers39

Suggested Problems

More from this Author1

Tags