Created
February 3, 2017 06:11
-
-
Save EvolvedAwesome/08faef0da050c114c65c9fd91877000f 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
def fibSub(n, n2): | |
temp_numb = n - n2 | |
if( temp_numb < 0 ): | |
return temp_numb+10 | |
else: | |
return temp_numb | |
def fibAdd(n, n2): | |
temp_numb = n + n2 | |
if temp_numb > 10: | |
return temp_numb - 10; | |
else: | |
return temp_numb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment