Advertisement
Guest User

Untitled

a guest
Nov 21st, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. # Make sure that the_flying_circus() returns True
  2. abs_less_1 = "The absolute value of your answer is less than one!"
  3. abs_great_1 = "The absolute value of your answer is greater than one!"
  4. abs_is_1 = "The absolute value of your answer is one!"
  5. ans = 5
  6. def the_flying_circus(ans):
  7. if ans > -1 or ans < 1:
  8. print abs_less_1
  9. elif ans < -1 or ans > 1:
  10. print abs_great_1
  11. else:
  12. print abs_is_1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement