Rewrite sentence using commas..

Yes skateboarding is not only a sport but a science.

I wrote...
Yes, skateboarding is not only a sport, but a science.

Right.

Thank you

Your sentence, "Yes, skateboarding is not only a sport, but a science," is correctly written with commas. The first comma is used to separate "Yes" as an introductory word from the rest of the sentence. The second comma is called a coordinating conjunction comma, which is used to separate the two independent clauses "skateboarding is not only a sport" and "but a science." This helps to clarify the meaning and make the sentence easier to read. Well done!