Tuesday, June 14, 2016

How to take out single element out of list in python?

I have list as follows:



list = [u'windows 32bit', u'i7', u'5Mb', u'energenie_eu', u'nvidia_970']



I want to take out value '5Mb' out of it. So, suggest me how can i take out value '5Mb' seperated from the list and have list as :



[u'windows 32bit', u'i7', u'energenie_eu', u'nvidia_970']

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...