⬅︎ Back to bool is instance of int in Python
You shouldn't though because Python has both a builtin max function and a proper ternary operator.
it is easy to get max value in this way, a hack way max_val = [a, b][a
Comment
You shouldn't though because Python has both a builtin max function and a proper ternary operator.
Parent comment
it is easy to get max value in this way, a hack way max_val = [a, b][a