16.1 Challenge - oxford comma
Please bring me a pencil, eraser, and notebook.
Notice that there is a comma after eraser. That’s oxford comma.
The opposite of oxford comma is “AP style”. Newspapers mostly follow “AP style”
The challenge is to convert a sentence from “AP style” to “oxford comma” style.
Input : This book is dedicated to Jack, Ryan and Amy. Output : This book is dedicated to Jack, Ryan, and Amy.