InterviewSolution
Saved Bookmarks
| 1. |
Describe the following method trans.late(table, deletechars=””) |
|
Answer» The method translate( ) returns a copy of the string in which all characters have been translated using table (constructed with the maketrans( ) function in the string module), optionally deleting all characters found in the string deletechars |
|