Drills/Exercises:
Test yourself:
Write Python algebraic expressions corresponding to the following statements:
a) The sum of the first five positive integers
b) The average age of Sara (age 23), Mark (age 19), and Fatima (age 31)
c) The number of times 73 goes into 403
d) The remainder when 403 is divided by 73
e) 2 to the 10th power
f) The absolute value of the difference between Sara's height (54 inches) and Mark's height (57 inches)
g) The lowest price among the following prices: $34.99, $29.95, and $31.50
Evaluation:
1. Translate the following statements into Python Boolean expressions and evaluate them:
(a) The sum of 2 and 2 is less than 4.
(b) The value of 7 //3 is equal to 1 + 1.
(c) The sum of 3 squared and 4 squared is equal to 25.
(d) The sum of 2, 4, and 6 is greater than 12.
(e) 1387 is divisible by 19.
(f) 31 is even. (Hint: what does the remainder when you divide by 2 tell you?)
(g) The lowest price among $34.99, $29.95, and $31.50 is less than $30.00
2. In what order are the operators in the following expressions evaluated?
(a) 2 + 3 == 4 or a >=5
(b) Ist[1] * -3< -10 == 0
(c) (Ist[1] -3 < -10) in [O, True)
(d) 2* 3**2
(e) 4/2 in (1, 2, 3]
Answers
Answer:
MP 6th
7
8
9
10
11
12
Skip to content
Menu
MP Board Solutions
MP Board Textbook Solutions for Class 6 to 12
Menu
MP Board Class 10th English The Rainbow Solutions Chapter 1 Goodwill
August 21, 2020 by Bhagya
In this article, we will share MP Board Class 10th English Solutions The Rainbow Chapter 1 Goodwill Pdf, These solutions are solved subject experts from the latest edition books.
MP Board Class 10th English Solutions The Rainbow Chapter 1 Goodwill (Yajurveda (V-S)
Mp Board Class 10 English Chapter 1 Goodwill Question Answer
Class 10 English Chapter 1 Mp Board Goodwill Vocabulary
Question 1.
All the three stanzas of the hymn begin with the word “May’ why?
Answer:
All the three stanzas of the hymn are invocations to the divine Essence (‘the peerless Spirit’ and ‘the deathless Flame’). Therefore, all of them begin with the word ‘May’.