Returns the string 'true' if value is truthy, 'false' otherwise.
(value)
| 1285 | pprint.pprint(x, indent=2) |
| 1286 | |
| 1287 | def b(value): |
| 1288 | """Returns the string 'true' if value is truthy, 'false' otherwise.""" |
| 1289 | return 'true' if value else 'false' |
| 1290 | |
| 1291 | def B(value): |
| 1292 | """Returns 1 if value is truthy, 0 otherwise.""" |
no outgoing calls
no test coverage detected