In pycham Copy code to obsidian "else" Wrong position

In pycham
Copy code to obsidian
“else”
Wrong position

if username == “admin” and password == “123”:
print(“Login successful”)
Login = True
breakelse:
print(“Login failed”)

What I’m trying to do

Things I have tried

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.