Simple Password testing(i'm learning alone no teacher)
Cyb3rnetic (0)

As the title says i was trying to learn the while loop and create something useful out of it,nothing special,i hope it helps the others.
Pointers:In order to get your while loop to work you must define a value in my case is test=True so you put while test: Then you set another value and you say if X==password etc etc and then you can get out of the loop when statement is true with (in my case)test=False.

You are viewing a single comment. View All
Cyb3rnetic (0)

I did used the book named "A byte of Python" as a reference.
The correct password is 10 btw :P