Getting Started with Python Practical Sumita Arora Solution Class 11
P.I.P: - 1.1
Expression | Result (what Python returns) | |
---|---|---|
1 | 6 * 3 | |
2 | 3 ** 3 | |
3 | 6 + 2 * 4 | |
4 | (6 + 2) * 4 | |
5 | 5 - 3 - 3 | |
6 | k = 5 - (3 - 3) | |
7 | 9.0 ** 0.5 | |
8 | (5 + 3.1) * 5 | |
9 | S = 5.0 – (3 – 3.0) | |
10 | S | |
11 | x = 12.0 / 4 | |
12 | x | |
13 | 7 - -7 - -7 | |
14 | 8 / 6 | |
15 | a = 8 % 3 | |
16 | a | |
17 | 3 ** 2 ** 0 | |
18 | (3 ** 2) ** 0 | |
19 | a + 5 | |
20 | 3.0 * 0.5 | |
21 | 9.0 % 3 | |
22 | -9.0 % 4 | |
23 | 6.2 % 4 | |
24 | 2 < 5 | |
25 | 3 < 5 and 5 < 3 | |
26 | 4 < 3 or 6 > 7 | |
27 | 3 <= 3 | |
28 | 4 != 5 |
Thanks for this
ReplyDeleteVery beautiful and helpful
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )