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
Unlock Smarter Learning with AskSia Super!
Join Super, our all-in-one AI solution that can greatly improve your learning efficiency.