Are there any standards for single/double quotation marks in all the different programming languages? What matters to me right now is Python. Should I use 'single quotation marks' or "double quotation marks" for the strings?
Thank you
Are there any standards for single/double quotation marks in all the different programming languages? What matters to me right now is Python. Should I use 'single quotation marks' or "double quotation marks" for the strings?
Thank you
You can use either in Python but I'd start with Python standards like https://docs.ckan.org/en/ckan-2.7.3/contributing/python.html
OR use what your company or school's standard is.
No reason to lose a grade point over this.
Finally, triple single quotes anyone?
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.