Ask Question

For any element in keyslist with a value greater than 100, print the corresponding value in items list, followed by a space. ex: if keyslist = {42, 105, 101, 100} and items list = {10, 20, 30, 40}, print: 20 30 since keyslist[1] and keyslist[2] have values greater than 100, the value of itemslist[1] and itemslist[2] are printed.

+5
Answers (1)
  1. 19 August, 11:06
    0
    For i in range (len (keyslist)):

    if (keyslist[ i ] > 100):

    print ("%d " % itemslist[ i ]
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “For any element in keyslist with a value greater than 100, print the corresponding value in items list, followed by a space. ex: if ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers