Kurles

Untitled

Oct 17th, 2020
657
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def is_sailor(age, height):
  2.     return age < 40 and height > 150
  3.  
  4.  
  5. def is_sailor_to_string(age, height):
  6.     if is_sailor(age, height):
  7.         return "подходит"
  8.     else:
  9.         return "не подходит"
  10.  
  11.  
  12. def main():
  13.     print(is_sailor_to_string(13, 155))
  14.  
  15.  
  16. if __name__ == '__main__':
  17.     main()
  18.  
RAW Paste Data