Which of the following is /are not valid string in Python? (a) "Python" (b)'Python' (c)"Python' (d)'Python"
(b) 'Python'
This is also a valid string in Python because it starts and ends with single quotes.
(d) 'Python"
This is not a valid string in Python for the same reason as (c) - the quotes do not match.
Not the question you are looking for? Ask here!
Enter question by text
Enter question by image
Upgrade to Asksia Pro
Join a AskSia's Pro Plan, and get 24/7 AI tutoring for your reviews, assignments, quizzes and exam preps.