this approach
that you should be using to reverse a string.
--
Thanks,
Nitin Madhok
Clemson University
CONFIDENTIALITY NOTICE
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain privileged and/or confidential
information. If you
Paula,
Can you send the snippet of code where you’re having the syntax error?
Thanks,
Nitin Madhok
> On Jun 24, 2018, at 5:21 PM, Paula Malimba wrote:
>
> Hello,
>
> I'm new to programming and am studying the book Begin to Code with Python.
> I'm stuck in les
27;Cow', 3], ['Panda', 5]]
If you want to read more about list comprehension,
https://www.pythonforbeginners.com/lists/list-comprehensions-in-python/
<https://www.pythonforbeginners.com/lists/list-comprehensions-in-python/> is a
good resource!
--
Thanks,
Nitin Madhok
Clemson Un
_words))
Or you could even use list comprehension like this:
print 'original - new', [word for word in words if word not in removed_words]
--
Thanks,
Nitin Madhok
Clemson University
CONFIDENTIALITY NOTICE
This e-mail, and any attachments thereto, is intended only for use by the
addr
ySQLdb (comes from package MySQL-python)
* mysql.connector (comes from package mysql-connector-python)
* pymysql (comes from package PyMySQL)
You can install them by doing:
pip install
For example:
pip install mysql-connector
--
Thanks,
Nitin Madhok
Clemson University
CONFIDENT