Write Simpler And More Readable Python Code Using One Trick If

Write Simpler And More Readable Python Code Using One Trick If