Page 147 - Computer Science Class 11 With Functions
P. 147
num5 = int(input('Enter a number'))
print(num1, num2, num3, num4, num5, sep = '$')
On execution, the program produced the correct output. But Anish edited the program and got the following output:
10 20 30 40 50$
Which statement did Anish edit?
3. Susan is studying geometry. She wants to create a program in Python to accept the radius and display the area and perimeter
of a circle. Help her complete the task.
4. Hardik wants to accept the following details of his friends - name, class, age, and their favourite sport. Thereafter, he wants
the program to display the entire data, each data item separated by two blank lines. Help him complete the task.
Multiple Choice Questions
1. (d) 2. (c) 3. (c) 4. (d) 5. (c) 6. (b) 7. (a)
True or False
1. (T) 2. (T) 3. (F) 4. (F) 5. (T) 6. (T) 7. (F) 8. (F) 9. (T)
10. (T) 11. (F)
Fill in the blanks
1. token 2. Keywords 3. input() 4. Comments
5. Enter 6. space 7. string
Basics of Python Programming 145

