Jul-08-2019, 09:18 PM
(Jul-08-2019, 09:14 PM)Amniote Wrote: mylen = lambda s: s.count(' ') + 1
What's your intention with that line?
There's no spaces in any of your values, so counting how many blank spaces there are will always give zero. So getting the min value will always return 1, since the min is 0+1. So all of them are printed, because all of them have the same min (because none of them have spaces in them).