Skip to content

Instantly share code, notes, and snippets.

@EvolvedAwesome
Created February 3, 2017 06:11
Show Gist options
  • Save EvolvedAwesome/08faef0da050c114c65c9fd91877000f to your computer and use it in GitHub Desktop.
Save EvolvedAwesome/08faef0da050c114c65c9fd91877000f to your computer and use it in GitHub Desktop.
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