Page 108 - Trackpad_V2.1_class8
P. 108
COding Zone COding Zone {} = COding Zone COding Zone
{C ding z ne}
21 st
#Critical Thinking
[]
Century
#Technology Literacy
Skills
</>
Find errors in the code of the following programs given below and correct them. Also write the
output.
1. l = 40
m = 100
if m > a :
print (“m is greater than l”)
2. i = 10
while i >= 10
print (i) ;
i =+ 1
3. for i in range (6) ;
print (i)
else if
print (Done) ;
CAREER HERE
People who are expert in Python may pursue their career as Software Developers.
FOR THE TEACHER
Discussion of control statements should be done comparing the situation faced in daily lives. This would help students
understand the concept better.
106 Trackpad (V2.1)-VIII

