I have the the following text
text = SCISSOR LIFT 18-19' ELECTRIC 60" LENGTH
I want:
text = SCISSOR LIFT 18-19 FT ELECTRIC 60 INCH LENGTH
I tried text = "SCISSOR LIFT 18-19' ELECTRIC 60" LENGTH" text.replace('"', " ")
But I got
File "<ipython-input-1-104923c7a47e>", line 1
text = "SCISSOR LIFT 18-19' ELECTRIC 60" LENGTH"
^
SyntaxError: invalid syntax
I want to replace the single quotation marks with "FT" and the double quotation marks with inch.