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 150 views
1 answer 136 views
1 answer 145 views
2 answers 236 views
1 answer 136 views
2 answers 178 views
...