0
Rate this code
6 Answers
+ 5
I will try to be not terribly cruel.
Pro: your code runs and delivers on its promise, it creates a password from numbers.
Con: you have a lot to improve on your coding style. First rule: avoid code repetition. We often refer to this as "DRY principle" (don't repeat yourself).
Use loops and functions so that you don't need to write the same lines of code twice.
+ 2
It is great if you can find practical problems that you can solve with code.
Keep learning and you'll see how you can make your code safer, simpler, and easier to maintain.
Not bad for a beginner code ;)
Happy Sololearing!
0
I'm starter and I write this code to rate how I understand lessons. And about numbers this password generator uses it because, I think that it can help you if you often forgot any password and you don't want to say it anybody you can write code on paper and then generate your code again
0
Thanks. P.s. I calculate and got that a chance to hack a code composits from 8 letters is 4,78865133E-10
0
It's not for all passwords but if their generated from not repeating letters it must be 4,78865133E-10(it's a chance to find password from random writings 8 letters)