Vidyalelo
Python · Q1

MCQs for Python Strings: Exam

Programming · Python · question 1

Q1

Which of the following is the correct way to create a string in Python?

A.
"Hello, World!"
B.
'Hello, World!'
Answer
C.
"Hello, World!'
D.
'Hello, World!"

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board