I’m trying to code a login system. I already built a password tester and a username tester, and they work. Now I want to add a feature where the user can log in, and if they don’t already have an account, it should allow them to create one.
login = input('please login, if you dont have a account please create a account')
username = input('please make a username ')
password = input('please make a password ')
strong_symbol = '!!'
mediocure_symbol = '@'
# username creater
if username.upper:
print('good username')
else:
print('please add a capital letter')
# password creater
if '!!' in password:
print('strong password')
elif '@' in password:
print('mediocure password')
else:
print('weak password, please add either the @ or !!')```