Learn how to create a random password generator in Python. We know that passwords are a real security threat. To keep your account safe and prevent your password from being hacked you have to make your password hard enough that…