Can someone pls review this code and help me to reduce the code?
I would say it is an unnecessarily difficult solution. It will be quicker through the strings (maximum 4 lines of code). 1. Translate the number into a string and you get the power. 2. Split it in to array 3. Use the "list comprehensive" to summarise all the items.
What i do wrong ?
Please rearrange int array:
self parameter in python class
Помогите с кодом автобуса