DEV Community

Aaron Shenny
Aaron Shenny

Posted on

My Frist project

My Frist project was 'Password Generator'.
What is the use of password generator?
A password generator is a software tool that creates random or customized passwords for users. It helps users create stronger passwords that provide greater security for a given type of access..
So i created this using Python.

Here is the code.

import random
lower = "abcdefghijklmnopqrstuvwxyz"
upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
number = "0123456789"
symbol = "&-_+=#"
all = lower+upper+number+symbol
length = 10
password = "".join(random.sample(all,length))

print(password)

Comment your suggestions.
Thank you.

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay