How to remove double quotes from string in Python

1 Answer

0 votes
s = '"python c "c++" java c#"'

print(s)

s = s.replace('"','')

print(s)




'''
run:

"python c "c++" java c#"
python c c++ java c#

'''

 



answered Feb 20, 2022 by avibootz

Related questions

1 answer 138 views
1 answer 128 views
1 answer 132 views
2 answers 226 views
1 answer 125 views
2 answers 169 views
...