The farther it is from the sun the longer its period of revolution (its "year").
they have different distances from the sun
You can look up information on the individual planets on Wikipedia. I am not sure the information is readily available as a ready-made list, so you may have to compile it yourself. The revolution around the Sun is listed as "orbital period".
Mercury has the least period of revolution around the sun among all the planets in our solar system, completing one orbit in about 88 Earth days.
the planets
outer
Neptune has the longest period of revolution among all planets in our solar system, taking about 165 Earth years to complete one orbit around the Sun.
The planets are not all the same distance from the Sun, which determines how far they have to travel, and how fast they are moving. Planets farther from the Sun have much longer orbits and are not moving as quickly. So their period of revolution (year) is longer.
Caca
Hi Venus is the only planet that has the revolution period closest to that of the Earth. Venus with a revolution time of 224.7 Earth days. Venus is the brightest of all the planets in the solar system and is known as the Earth's twin sister due to the similarity between the two planets in terms of Size, mass etc.
How does a planet's distance from the sun affect its period of revolution?
The period of a planet's revolution is the time that it takes to complete one revolution around its axis of rotation relative to the background stars (also known as rotation period).