Sounds like you are looking for the repr()
function:
>>> s="hello"
>>> print repr(s)
'hello'
solved Printing a string with the parentheses attched [closed]
Sounds like you are looking for the repr()
function:
>>> s="hello"
>>> print repr(s)
'hello'
solved Printing a string with the parentheses attched [closed]