DEV Community

Palak Hirave
Palak Hirave

Posted on

Day 5 of 100

Today I practiced more with using python loops. I used the official documentation to find out other functions and applied a few of them. Mainly I focused on using for loops and the range() function in relation to lists. For today's project I created a random password generator. Firstly it asks for the various amounts of letters, number and symbols the user would like in their password. Then I split the code into two variations. The first way was to take random letters, numbers and symbols and display it to the user eg. chJYf1258?>! The second variation was mixing up the order of the characters eg. g5h?97HH@ While I could quickly go through the first variation the second one took more time and a look at Stack Overflow. That was all for today.

Top comments (0)