Here they are: Create a sheet of any 6 numbers. Sort it in ascending order
Create a dictionary of 5 pairs: int -> str, for example {6: '6'}, output it to the console in pairs
Create a tuple of 10 any fractional numbers, find the maximum and minimum values in it
Create a sheet of 3 words: ['Earth', 'Russia', 'Moscow'], combine all the words into a single line to get: 'Earth -> Russia -> Moscow'
Take the string '/bin:/usr/bin:/usr/local/bin' and split it into a list by the character ':'
Go through all the numbers from 1 to 100, write to the console which of them are divisible by 7 and which are not
Create a matrix of any 3 by 4 numbers, first print all rows, then all columns
Create a list of any objects, print in a loop to the console: the object and its index
Create a list with three 'to-delete' values and any few others, remove all 'to-delete' values from it
Go through all the numbers from 1 to 10 in the opposite direction (that is: from 10 to 1), print them to the console
$$SOLUTION$$
评论 (0)