I\'m a beginner in writing code and I\'ve started with Python because it seemed the neatest and the easiest to start with (I currently have Python 3.2). Now I\'ve read some
You want something like this:
PassWord = str(random.randint(0,9999))#example password for i in range(10000): #0-9999 Trial = str(i) if Trial == Password: print('Found password: ' + Password)