1nums = [48, 35, 32, 5, 5, 16, 5, 16, 28, 29] # Makes a list of numbers
2
3sortedNums = sorted(nums, key=int) # Sorts the numbers and saves it as a variable
4print(sortedNums) # Prints the variable
1>>> numbers = [6, 9, 3, 1]
2>>> numbers_sorted = sorted(numbers)
3>>> numbers_sorted
4[1, 3, 6, 9]
5>>> numbers
6[6, 9, 3, 1]
7
1print([i for i in range(2, int(input("Enter your number: "))+1) if 0 not in [i%n for n in range(2, i)]])