str.translate gives TypeError – Translate takes one argument (2 given), worked in Python 2
I have the following code I’ve tested lines 2-4 in a separate testing.py file when I wrote and the command prompt returns [‘the’,’the’,’the’], which is what I wanted (removing punctuation). However, when I put the exact same code in a different file, python returns a TypeError stating that json_list is a list of all the … Read more