71.5k views
1 vote
If you are trying to print a string, what happens if you leave out one of the quotation marks,

or both?

1 Answer

7 votes

Answer:

If you leave out one of the quotation marks or both, it will result in a syntax error because the string is not properly defined. The interpreter will not know where the string begins or ends and will not be able to print it.

User Robert Dresler
by
7.6k points