Question #950

What is the output of the code snippet below?
my_list = "7 77 55 2345"
my_second_list = my_list.split()

print(max(my_second_list))

The split() methods returns a string. Hence the right answer is 77 . (w3schools.com/python/ref_string_split.asp)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: