Message from Python discussions

November 2018

— Also, you dont need an if, enumerate starting in 3

— 

>>> s
['a', 'b', 'c', 'd', 'e', 'f']
>>> list = [i.upper() if s.index(i)<2 else i for i in s]
>>> list
['A', 'B', 'c', 'd', 'e', 'f']

— Спасибо большое

— Thanks

— 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?

Message permanent page

— 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.

Message permanent page

— 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?