+ 1
Anyone can explain me how make a password code
Using simple string functions
3 Answers
+ 3
You could tag a programming language for better help. Otherwise the if else statements will be helpful.
+ 3
please, tag the wished programming / scripting language, but will something like this
while input is not password
repeat asking
improvement: use a countdown and when it reaches 0, then quit the while loop and show a login failed message
0
Alright, assume your using python
Do: password = input(âWhat is your password?â) after they input it, hard code it into the system.
Sadly, thats the simplest way, I would recommend learning more than string functions to hard code and input etc.