Coders Packet

Password Generator using Python

By Swetha Sukumar

A Project implemented in Python where a User can generate strong passwords according to the length of the password given

In this Program, we will be generating strong passwords in Python using the random module in just a few lines of code!

 

How does it work?

Step 1: Import the random module

Step 2: Initialize a variable that will store all the characters along with special characters to make it a strong password.

Step 3: Getting input from the User about the length and the number of passwords.

Step 4: Using the for loop, store the password in a variable by appending characters using the random module according to the password length. 

Step 5: Repeat Step 4 until the for loop for the number of passwords is satisfied.

Step 5: Break the loop.

Download project

Reviews Report

Submitted by Swetha Sukumar (swethasukumar)

Download packets of source code on Coders Packet