← Previous Next →

Format your output

Created by Jérôme Schneider

Instructions

Provide a function named list_pretty_print, taking a single parameter: a list of integers.

Your function should display 5 intgers per line (maximum), separated by , (coma space).

Example

list_pretty_print([42] * 6)

should give:

42, 42, 42, 42, 42
42

Your Code

Login to check your code and save your progress.

Results