CLASS 8 DATA TYPES IN PYTHON
DATA TYPES IN PYTHON A. Tick the correct option 1. Which of the following is not a valid variable name? ANS1. a. Print 2. Which of the following is not a string? ANS2. a. 89 3. How many types of number data type are there in Python? ANS C. 4 4. Which of the following is a data type? ANS A. TUPLE 5. Which of the following will you use to access a value stored in a dictionary? ANS C. [ ] B. Fill in the blanks 1. A multiline string spreads across multiple lines. 2. Data type is used to represent data in the memory of the computer. 3. A tuple can consist of different types of values. 4. A conditional statement can also be called a decision making statement. 5. The IF conditional statement has code for the condition being true only. C Write the output of the following code snippets. 1. >>> number_of_pages=200 >>>print( number_of_pag...
Comments
Post a Comment