Question: # Get a number input from the user. # Using the below list mylist, get the item requested by the user # multiply it by
# Get a number input from the user.
# Using the below list "mylist", get the item requested by the user
# multiply it by and print the result
# For example, if the user inputs your item will be print
# If the number is outside the list range, print "error".
myList
# Write your code here:
# Write your code here:
index eval input Enter a number:
if index lenmyList:
print Error
else:
print myList index
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
