Convert a list of values into a properly escaped CSV line.
Constraints
Example
>>> csv_row(["Name", "Age", "City"]) 'Name,Age,City' >>> csv_row(["Alice", 30, "New York"]) 'Alice,30,New York' >>> csv_row(["Doe, John", "123 Main St", "NYC"]) '"Doe, John",123 Main St,NYC' >>> csv_row(["He said \"Hi\"", "line\nbreak"]) '"He said ""Hi""","line\nbreak"'
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints