Skip to content

Instantly share code, notes, and snippets.

@pdbartsch
Created March 6, 2019 23:49
Show Gist options
  • Save pdbartsch/378b0f148da08ceb860fbc0fed15900c to your computer and use it in GitHub Desktop.
Save pdbartsch/378b0f148da08ceb860fbc0fed15900c to your computer and use it in GitHub Desktop.
# expression:
lat_main(!size!)
# code block:
def lat_main(diameter):
if (diameter >= 8):
return "Main"
else:
return "Lateral"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment