Page 133 - Plus V4 with Adobe class 7
P. 133
On running the above program, we get the following output:
Program 4: To display one of the two alternate messages
On running the above program, we get the following output:
21 st
Double Tap Century #Technology Literacy
#Critical Thinking
Skills
Find the error in the following code and rewrite the code:
if(age > 18)
print(‘You are eligible to vote’)
else:
print(‘Not eligible to vote’)
#Conditional Statements in Python 131

