Ask coding questions

← Back to all posts
I don't know what i have made wrong.
PAULX

can please somebody help my? i understand english and german.

https://repl.it/@PAULX/password-makerpy

Answered by ArchieMaclean [earned 5 cycles]
View Answer
Voters
PAULX
Comments
hotnewtop
ArchieMaclean

You need to un-indent lines 18-23, like this:

Also line 20 should be changed to

(like I have above).

Please upvote if this helps :)

PAULX

@ArchieMaclean One error is now fixed but a loot of other errors are coming and the Programm doesn't works. The error now is: Traceback (most recent call last):
File "main.py", line 25, in <module>
passwordmaker()
File "main.py", line 20, in passwordmaker
randomzero = randomzero + abc[random.randint(0,25)]
TypeError: unsupported operand type(s) for +: 'int' and 'str'

PAULX

@ArchieMaclean Thank you for your help. :D

ArchieMaclean

@PAULX There are a few unrelated errors - here are some fixes:

Please upvote if this helps :)

PAULX

@ArchieMaclean Thank you so much
I had post this several times but nobody has comment a usefully help you are the first who helps my.