Page 120 - Trackpad_V1_Book 8_Flipbook
P. 120
COding Zone COding Zone {} = COding Zone Computational Thinking
{C ding z ne}
[]
COding Zone
</>
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 experts in Python may pursue their careers 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.
118 Trackpad (Version 1.0)-VIII

