Question-50: What would be output when you run below code snippet
print("Wow\'" , "\"HadoopExam\"" , "is nice place for \"\" Python\"\"")
- Wow' "HadoopExam" is nice place for "" Python""
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Answer: A
Exp:
Strings
- String always needs a double quote.
- If your string itself require quotes then?
- We already discussed escape character
-
You can access to full explanation to question and answer from this page.