(Dec-18-2018, 07:17 PM)dan789 Wrote: if there is a way how to make this method 1 line, I prefer it.can you give an example as it's not very clear (i.e. input and desired output) e.g. list contains lines?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs