Does the size of the planet affect the time it takes for one revolution around the Sun?

The answer is No, but why is it because of the gracity pull from the Sun?

Thank you

i beleive sooo ya that is true..!!