Message from Python discussions
— Also, you dont need an if, enumerate starting in 3
['a', 'b', 'c', 'd', 'e', 'f']
>>> list = [i.upper() if s.index(i)<2 else i for i in s]
['A', 'B', 'c', 'd', 'e', 'f']
— Спасибо большое
— Someone help me? I have glasses of 3mts long, and I have to divide them into pieces of 80cm or less and then cover 8mts. How did you cut the glass to waste as little as possible?
— Sorry for my english
— May I know how to do an inverse insertion sort?
— I would like to sort it in descending order and I have tried amending my original code to sort it in descending order,but only a few number works. The rest will be overwritten by the larger number.
— Show your code to see what you've already tried
— How can we input values to terminal via program in python
— Try again, and this time clearer
— What's mean of python?