0
What happens if you leave one qoutation mark or both if you are printing a string and why
https://www.sololearn.com/discuss/2923479/?ref=app https://www.sololearn.com/discuss/2923807/?ref=app
2 odpowiedzi
+ 2
Hello Abass,
As a future reference, please take note of this guide on posting a question 👍
https://www.sololearn.com/Discuss/333866/?ref=app
https://code.sololearn.com/W3uiji9X28C1/?ref=app
+ 1
Then the computer wont know its a string.
Quotation marks is an identification for the computer to read the content within the quote as string.
Since coding is text based, and a string is a text. Quotation marks helps in differentiating the string text from code text.
So, it will generate an error if u leave one or both the quotation marks.