[Tutor] Replace nth item with single value in each nested list

EK Esawi ekesawi at yahoo.com
Thu May 14 18:01:46 EDT 2020


Hi All 

Thank you Narasimharao  and Alan for the help. The reason i want to use list comprehension is because I used it through my project and I just like it because it’s concise and short.  Lastly, I find it amusing and disappointing that some people seem to make judgment without any proof about a posting as whether the question asked is a homework or not-very disappointing indeed.

In any case thank you.

EK


More information about the Tutor mailing list