Jul-21-2017, 02:41 PM
Is there a way to remove apostrophes in list so that this:
a_list = ['mary', 'had', 'a', 'little', 'lamb']becomes:
a_list = [mary, had, a, little, lamb]Thank you
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition