Skip to content

Instantly share code, notes, and snippets.

@scdekov
Created March 1, 2017 11:25
Show Gist options
  • Save scdekov/70159ed231b206b75d83921272295357 to your computer and use it in GitHub Desktop.
Save scdekov/70159ed231b206b75d83921272295357 to your computer and use it in GitHub Desktop.
return {
'low': 'white',
'medium': 'green',
'high': 'red'
}[priority]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment