0
How to make a simple login form in python 3 ?
There's no rule for username. Password is valid if : -consist of 12 character (alphabet) -password must have upper case and lower case https://code.sololearn.com/cKGse4rOaedh/?ref=app https://code.sololearn.com/cKGse4rOaedh/?ref=app
6 Answers
+ 1
Mind posting your attempt?
EDIT: Thanks Adira Ramadhani i would try having each check seperate. have lencheck(), uppercheck(), and lowercheck(), functions, then encapsulate them in a passwordcheck() function
+ 1
Slick Thank you very much, I'll tryđ
0
Slick wait..I'll try..
This is my first class...and my teacher ask us to make it..
It makes me burn out...if you don't mind can you show it?
0
if i show it, you learn nothing. so i do mind. in your original code, you make it a bit harder for yourself putting all that in one statement. Make it easy on yourself and create 3 functions that do 1 thing. THEN create one more function that has the 3 previously created functions in it.
0
So I should make a function?Slick
0
here's an example program. look at how the first 2 functions are used in the 3rd
https://code.sololearn.com/cVYhAj1BTbbf/?ref=app