Page 99 - TP_V5.1_C7_fb
P. 99
COding Zone COding Zone {} = COding Zone Computational Thinking
{C ding z ne}
[]
COding Zone
</>
What will be the output of the following programs?
a. a = 4.5
b = 2
print (a//b)
b. y = 10
y += 2
print(y)
c. p, q, r = 10, 20 ,30
print(p, q, r)
d. x = 11
y = 3
print((40 + 10 // x) < 7 or 7 ** y < 13)
e. a = 4
b = 11
print(a or b)
print(a > 2)
f. a = 7
b = 8
print((50 - 6 // a) > 9 or 9 ** b > 11)
g. a = 10
b = 4
print((a == 6) + b)
CAREER HERE
People who are expert in Python may pursue their career as a Software Developer.
FOR THE TEACHER
1. Explain various types of data types in detail.
2. Give small programs related to interesting, real-life examples to the students.
Tokens and Data Types in Python 97

