Question-41: Which of the following is correct about Number and String literal?
1.If String and Number both are representing same data like “99” and 99. Then both are stored same way in computer memory.
2.Get all Questions and Answer from here
3.You need to have paid subscription to access all questions
4.Thanks for considering Python Certification Material
Answer: B, C
Exp:
Literal
- A literal is a data whole value is determined by itself.
- For example, below all are literals.
- This is a fixed values
123 1000 9.99 “HadoopExam" |
Below both are literals
- One which is in double quote is representing String.
- Second one is Integer.
You can access to full explanation to question and answer from this page.