(passenger)
| 19 | |
| 20 | |
| 21 | def woman_child_or_man(passenger): |
| 22 | age, sex = passenger |
| 23 | if age < 16: |
| 24 | return "child" |
| 25 | else: |
| 26 | return dict(male="man", female="woman")[sex] |
| 27 | |
| 28 | |
| 29 | if __name__ == "__main__": |
nothing calls this directly
no outgoing calls
no test coverage detected