Skip to content
Quiz · Lists · lesson 3 of 11

Quiz — what sort() returns

What does the program print?

Python
nums = [3, 1, 2]
result = nums.sort()
print(result, nums[0])

Subscribe to take the course

The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.

Sign in another way