Question-49: Which of the following generate output as below
Learning Python from "HadoopExam.com"
- print("Learning Python from \"HadoopExam.com\"")
- 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,B
Exp : If you run all above 4 print function. It would generate following output respectively.
Learning Python from "HadoopExam.com"
Learning Python from "HadoopExam.com"
Learning Python from 'HadoopExam.com'
Learning Python from 'HadoopExam.com'
Strings
- String always needs a double quote.
-
You can access to full explanation to question and answer from this page.