擅长:python、mysql、java
<pre><code> def register():
print("Register")
login = input("Enter login")
passwd = input("Enter password")
passwdacc = input("Accept password")
if passwdacc = passwd:
print("You have registered, now please sign up")
else:
print("Try again, passwords dont matches")
login2 = input("Enter login")
password = input("Enter password")
if password = passwd and login2 = login
print("Accepted")
else:
print("Try again")
</code></pre>