Answer:
The solution code is written in Python:
- keysList = [32, 105, 101, 35]
- itemsList = [10, 20, 30, 40]
-
- output = ""
-
- for i in range(len(keysList)):
- if(keysList[i] > 50):
- output += str(itemsList[i]) + " "
-
- print(output)
Explanation:
Firstly, let us use the two sample list, keysList and itemsList in our program (Line 1-2). Then create a output variable to hold the output string (Line 4).
Next, we create a for-loop and use it to traverse through the elements in the keysList. If any keysList element is bigger than 50 then we use the same index i to get the corresponding item from itemsList and join that value to the output string (Line 7-8).
Lastly, we print the output (Line 10).
Que es la problem for your question
Answer:
24:36 if you want it in the smallest form it is 2:3