Created
August 19, 2018 10:51
-
-
Save kadiralev1/de635fb4d621bc86bb73d0ceb869aea4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func login(_ username:String , _ password:String) -> Bool { | |
if username == "swift" && password == "1234" | |
{ | |
return true | |
}else { | |
return false | |
} | |
} | |
print(login("swift", "1234")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment