Python script for user login operation
Implement a small program for user login. If the password is wrong, you can retry three times. If all three times are wrong, then lock
The database has the following format, respectively username | password | lock, where the lock field 0 is normal, 1 is locked
root|admin123|0
admin | admin123 | 1
Cevin | admin123 | 0
Here is the Code

The database has the following format, respectively username | password | lock, where the lock field 0 is normal, 1 is locked
root|admin123|0
admin | admin123 | 1
Cevin | admin123 | 0
Here is the Code

Comments
Post a Comment