Question: Python: Modify the given if statement so that 'Currently a teenager' is output if input _ age is in the range 1 3 - 1

Python: Modify the given if statement so that 'Currently a teenager' is output if input_age is in the range 13-19 inclusive.
input_age = int(input())
# Modify the following line
if (input_age >=13) or (input_age <=19):
print('Currently a teenager')
else:
print('Not currently a teenager')

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!