Question: # 5 . Lists # Write a function that will take a string of comma - separated integers ( assume ' , ' between each
# Lists
# Write a function that will take a string of commaseparated integers assume between each integer
# and returns a list of those integers in descenging order
def sortstringtext:
numbers intnum for num in text.split # your implementation here: don't forget to "return" something
numbers.sortreverseTrue# For example, sortstring should return
return numbers
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
