The average American has 10 devices, ask for users average number of devices. Any number between 7 and 12 will print “you have an average number of devices” but if it beyond the range it will print “you’re beyond the average range”

Respuesta :

This is for Python

device_num = int(input('How many devices do you have: '))

if device_num >= 7 and device_num <= 12:

   print('You have an average number of devices')

if device_num > 12:

   print("You're beyond the average range")

ACCESS MORE