@skshandilya33
This sounds like a homework or exam question for a class.
We are a global community of users of the Canvas learning management system (the software you may use to take your online classes in). Your question has nothing to do with Canvas.
Many of us here are educators and will not knowingly answer what might be graded material for students. Similarly, we would expect our students to come to their instructor or use resources the instructor has allowed when doing problems, rather than posting the question in an online forum asking someone to solve the problem for you.
There are several ways to avoid the trailing comma and three approaches quickly come to my mind. I debated whether to even give a hint, but since this might be a quiz question where the teacher wants you to do it on your own, I do not feel that I even go as far as a hint.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.