Preheat your oven to 350°F (175°C) and grease a loaf pan.
In a large mixing bowl, combine the grated zucchini and sugar.
Add vegetable oil, eggs, and vanilla extract to the zucchini mixture; mix well.
In another bowl, whisk together the flour, baking soda, baking powder, salt, and cinnamon.
Gradually fold the dry ingredients into the wet mixture until just combined.
If desired, stir in walnuts or chocolate chips.
Pour the batter into the prepared loaf pan.
Bake in the preheated oven for 50-60 minutes or until a toothpick comes out clean.
Allow the bread to cool in the pan for 10 minutes, then transfer to a wire rack.
Slice and enjoy your delicious zucchini bread!