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

49.48% Correct | 50.52% Incorrect
Last solution submitted on Mar 28, 2019

Solution Comments

Recent Solvers39

Suggested Problems

More from this Author1

Tags