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 234 views
1 answer 216 views
1 answer 242 views
2 answers 367 views
1 answer 241 views
2 answers 298 views
...