4 Answers
+ 3
It's based on alphabet order. The letter "h" is after "g" so it's bigger.
If you rather be more accurate, it's actually based on their unicode. Python compares the result of ord() for each first character of strings. If they were equal, it compares the result for second characters and it happens until some characters aren't equal. I n here hello is bigger than 'good bye' because ord('h')=104 and ord('g')=103.
+ 1
most likely due to the fact that the words are compared letter by letter and as a result, these letters in the code table are more important
0
'Hello world!' is greatest
0
How