diff --git a/README.md b/README.md index 3e0114b..f07c439 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ git push 12. [Jennifer Gonzalez](https://github.com/donycisneros) 13. [Juan Perez](https://github.com/juanmarcosperez) 14. [Manish Pandey](https://github.com/InvincibleNobita) -15. [Agni Sain](https://github.com/agnisain123) +15. [Agni Sain](https://github.com/agnisain123) +16. [Sujay Shekhar](https://github.com/sujay-0202) ...your name... diff --git a/SujayShekhar/README.md b/SujayShekhar/README.md new file mode 100644 index 0000000..cc34718 --- /dev/null +++ b/SujayShekhar/README.md @@ -0,0 +1,3 @@ +Hi! +This is a small program which generators random strings and string digits +Will keep improving it by adding new features. Any suggestions regarding it are welcome. \ No newline at end of file diff --git a/SujayShekhar/random_password_generator.py b/SujayShekhar/random_password_generator.py new file mode 100644 index 0000000..ba45f44 --- /dev/null +++ b/SujayShekhar/random_password_generator.py @@ -0,0 +1,10 @@ +import random +import string + +def random_password_generator(size=4, chars=string.ascii_lowercase + string.digits): + return ''.join(random.choice(chars) for _ in range(size)) + + +print(random_password_generator()) + +print(random_password_generator(size=50)) \ No newline at end of file