Rewrite sentence and place commas where necessary.

Yes skateboarding is not only a sport but a science.
I wrote:
Yes, skateboarding is not only a sport, but a science.
I was wrong...can you please help me by correcting.

It's already correct.

Thank you...

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

To correctly punctuate the sentence, you should include a comma before the coordinating conjunction "but" to separate the two independent clauses. Here's the corrected punctuation:

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