[Solved] Trouble with Personal project code (replacing characters) [closed]


In python, tuples are defined with tup = (val1,val2,...). This is what you’re doing when you define wholeAssDocumentation. Since tuples don’t have a re method, you’re getting that error.

Other than that, I suggest you read the regex documentation because that’s not how you use a regex on a string either.

Also you’re overwriting the print function for some reason

1

solved Trouble with Personal project code (replacing characters) [closed]