Skip to content

Python If

if any Python

  • by

Python has a built-in any() function for exactly “if any” purpose. Also, if you’re going to use “True in …”, make it a generator expression… Read More »if any Python