Python Password Generator


I'm trying to make a python password generator.
i used a script from the internet and I added some extra lines of code
but it gives me an error and I don't know what to do
this is a screen of the code

and this is the error
line 11, in
for i in range(pw_lenght):
TypeError: 'str' object cannot be interpreted as an integer


Hi @didntcode,
You should post the raw code.
Reading from a pic and then pointing errors is not convenient for anybody.
Also formatting is important.

Also as this question does not fall into Python section of Codecademy so you can post it in corner bar discussions.

If you do these ,someone might help! :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.