Created
March 31, 2020 16:43
-
-
Save ildede/24c39993b8dd3bc05d5da67595a84a9a to your computer and use it in GitHub Desktop.
Check if "person" is old.
This file contains hidden or 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
if (person.sex == "woman" && person.superpowers.contains("Find everithing")) { | |
return "Yes, this person is old"; | |
} else { | |
return "No, this person is still young"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment