Advertisement
c32team

question #7

Jun 13th, 2024
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. def get_status(is_active = False):
  2.     return ‘active’ if is_active is True elsenot active’
  3.  
  4. get_status(1)
  5. get_status(0)
  6. get_status(2)
  7. get_status()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement