+ 2
Small help :)
hey guys am new here what is the difference between print('text') and print("text")
3 Respostas
+ 8
Welcome Ahmed!
You can also use one inside the other:
print("I 'think' so") -> I 'think' so
print('I "think" so') -> I "think" so
Best way to learn which does what is to experiment in the Code Playground.
If you want help with a particular bit of code, you can save it in the Code Playground and share it so we can check it out (three dots joined by 2 lines in the corner -> share -> copy to clipboard -> paste in Q&A with your question) 🙂
+ 6
there is no difference , you can use any of them in python.
+ 2
well old useful code...
there is not actually difference in single & double quote...BUT MARK THAT THERES SOME HIGH NEED IN SOME CODES TO USE THEM....
its an string manipulation enlisting code..including ur doubt and other relevent info. also...
//read comments to get the idea//
https://code.sololearn.com/cnK7GbSZLglD/?ref=app