Hello, I'm new here but I can't understand why string.translate isnt' working.
I have a such error when i'm trying
newtext = text.translate(string.maketrans("",""), string.punctuation)
TypeError: translate() takes exactly one argument (2 given)
checkio, 6
<module>, 17
it is working in my idle, but not here.
How can i fix that? Thank you!
Created at: 2014/04/14 13:02; Updated at: 2015/11/05 19:17