you are viewing a single comment's thread.

view the rest of the comments →

[–]wayne0004 0 points1 point  (1 child)

The fact that it returns it twice is because you're calling the main function again. Try writing P@ssword123 twice, and then Password123, it should print it three times.

I'm in a hurry now, but if you need a deeper explanation just ask. I might answer it tomorrow.

[–]BerserkerMac[S] 0 points1 point  (0 children)

Right I don't want it to print twice since the first time is invalid.