0

What's wrong with my code?

I've made a password generator. But why does it generates the same password everytime? https://code.sololearn.com/cZTwTdSTAzwP/?ref=app

4th Sep 2023, 7:21 PM
Tanvesh Kaviskar
Tanvesh Kaviskar - avatar
9 odpowiedzi
4th Sep 2023, 7:50 PM
Defying Gravity
Defying Gravity - avatar
+ 3
The loops and random functions werent working in the original code, so it was generating the same “random” password every time. i fixed it so it generates a truly random password every time
5th Sep 2023, 5:49 PM
Defying Gravity
Defying Gravity - avatar
5th Sep 2023, 5:57 PM
Chris Coder
Chris Coder - avatar
+ 1
Defying Gravity Explain the code.
5th Sep 2023, 4:56 PM
Chris Coder
Chris Coder - avatar
+ 1
Tanvesh Kaviskar probably because i accidentally made it private . . . it should work now
5th Sep 2023, 5:52 PM
Defying Gravity
Defying Gravity - avatar
0
Defying Gravity I can't open the link. Tried to paste it on Chrome, but still I can't open it.
5th Sep 2023, 5:50 PM
Tanvesh Kaviskar
Tanvesh Kaviskar - avatar
0
Defying Gravity Make a new comment with link. Still can't open it.
5th Sep 2023, 5:53 PM
Tanvesh Kaviskar
Tanvesh Kaviskar - avatar
0
Defying Gravity Chris Coder Thanks. I updated it.
5th Sep 2023, 6:04 PM
Tanvesh Kaviskar
Tanvesh Kaviskar - avatar