Skip to content

Instantly share code, notes, and snippets.

@codecademydev codecademydev/script.py Secret
Created Feb 4, 2019

Embed
What would you like to do?
Codecademy export
def get_boundaries(target, margin):
low_limit = target - margin
high_limit = margin + target
return low_limit, high_limit
low, high =get_boundaries(100, 20)
print("Low limit: " +str(low)+ ", high limit " +str(high))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.