Skip to content

Instantly share code, notes, and snippets.

@RH2
Created November 18, 2012 09:01
Show Gist options
  • Save RH2/4104302 to your computer and use it in GitHub Desktop.
Save RH2/4104302 to your computer and use it in GitHub Desktop.
def customCrabStuff(variable):
a=0
if variable<=4.305:
a=0.863
print("first clause",a)
return a
if variable>4.305:
a=variable - 3.445177947998
print("second clause" ,a)
return a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment