Created
October 16, 2020 23:59
-
-
Save miketheman/5b2e35013ae12bd44fe51e6d1d9b8d64 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
flip(inputInt) { | |
return inputInt = 1 - inputInt; | |
} | |
void main() { | |
print(flip(0)); | |
print(flip(1)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment