Im new to python. just started learning. but experimenting with it and with max() i now got stuck a bit. See this example:
list=["hello Wold", "hy", "xx", "ccc"]
max(list)
it returns
'xx'
help(max) tells me that given a single iterable argument its supposed to return its largest item. So i would expect to get the "longest" item back.
why is it not returning the longest item in the list?
tanks for help