By Editorial Staff. Updated on
Today we are going to share a Python program to generator strong password. If you are a python beginner and want to start learning the python programming, then keep your close attention in this tutorial as I am going to share a Python program to generator strong password.
To increase your Python knowledge, practice all Python programs:
Copy the below python program and execute it with the help of python compiler.
from random import *
characters = string.ascii_letters + string.punctuation + string.digits
password = "".join(choice(characters) for x in range(randint(12, 20)))
Sharing is caring!