Python Loops

Full Cup of Coding
2 min readFeb 5, 2021

Today is Day 5 of the Angela Yu course 100 Days of Code — The Complete Python Pro Bootcamp for 2021.

Day 5 — Python Loops

On Day 5 Angela reviews the following:

  1. Loops
  2. Range

At the end of the day you will build a Password Generator.

Loops

A for loop iterates over a specific sequence.

Range

The range function is helpful for generating a range of numbers to loop through.

Be default the step size is 1. You can change the step size by adding a third parameter.

Password Generator

The project for today was to create a password generator.

The password generator will ask the user how many letters, numbers, and symbols they would like in their password and then the console will return a random password.

You can click here to get all of the solutions on Github.

Have a great day and see you tomorrow!!

Photo by Florian Olivo on Unsplash

--

--