fork download
  1. for array in ([7, 8, 10, "Hello", 5, 5], ["1", "2", "3", "4", 5]):
  2. print((lambda x:[m(t for t in x if str(t)!=t)for m in(min,max)])(array))
Success #stdin #stdout 0.02s 9984KB
stdin
Standard input is empty
stdout
[5, 10]
[5, 5]