Pernyataan bersyarat if-else di Python

def authentication(password):
    if password == 'unstoppable':
        message = "Login Successful !! Welcome to the Softhunt"
    else:
        message = "Try a different password"
        
    return message
    
def main():
    print("Authentication System")
    print("======================")
    passwordInput = input("Enter your password: ")
    checkPass = authentication(passwordInput)
    print(checkPass)
main()
Outrageous Ostrich