Strings in Python are delimited with:
Strings in Python are delimited with:
A . backslashes (i.e., )
B. double quotes (i.e., ") or single quotes (i.e., ‘)
C. asterisks (i.e., *)
D. dollar symbol (i.e., $)
Answer: B
Explanation:
Topics: strings quotes
Try it yourself:
print("Hello") # Hello
print(‘World’) # World
Unlike in other programming languages, in Python double quotes and single quotes are synonyms for each other.
You can use either one or the other.
The result is the same.
Latest PCEP-30-01 Dumps Valid Version with 124 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments