Here are some emojidentifiers for your next Python code:
import math
乁_ツ_ㄏ = None
乁_益_ㄏ = math.nan
def minnums(values: list | 乁_ツ_ㄏ = 乁_ツ_ㄏ):
if (
values is 乁_ツ_ㄏ
or not all(isinstance(n, (float, int))
for n in values)
):
return 乁_益_ㄏ
return min(values)
@ptmcg Should None not be base on 無?
@thias I was going for the more visual "shrug" emoji look. 無 is a perfectly valid Python identifier, if you prefer. But I wouldn't call it an emojidentifier. (Unfortunately, most Unicode emoji aren't valid identifier characters, so we have to fake it with lookalike characters.)