APPLICATION OF SUPERVISED LEARNING
ARTIFICIAL INTELLIGENCE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What quotation marks can the Python language use? (Multiple Choice)
|
Single quotes
|
|
Double quotes
|
|
Three quotes
|
|
Four quotes
|
Explanation:
Detailed explanation-1: -The triple quotation is a nice way to be able to include other types of quotation within your string without having to use escape characters. For example: print("He said m¨y name’s John"¨) That example requires escape characters ’´ to use double quote marks.
Detailed explanation-2: -Quotation marks are ALWAYS used in pairs, one at the beginning of the quoted text and one at the end. The same rule applies to titles and words used in a special sense or for emphasis. Use double quotation marks (“”) around a direct quote.
There is 1 question to complete.