You are given a list of numbers nums. Sort the list by the remainder of dividing by three and print the result. Use a lambda function as key if possible.
Sort numbers by the remainder
Report a typo
Write a program in Python 3
nums = [int(num) for num in list(input())]
# write your code here
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.