Resource 20241118174358 Class 7 November Content Chapter-4 More On Python
Resource 20241118174358 Class 7 November Content Chapter-4 More On Python
iii. Enter the name and age of the user and check age if
age is greater than 18 then display allowed to vote else
not.
n=input('Enter name =')
age=int(input('Enter age ='))
if age >=18:
print ('allowed to vote.')
else:
print (' not allowed to vote.')
Home-Work Questions:
1. Write the full form of IDLE in Python IDLE.
2. Define
a. Sequential statements
b. Iterative statements
***
***