| about | help | code help+videos | done | prefs |
all_less
Write a function named all_less that accepts two lists of integers and returns True if each element in the first list is less than the element at the same index in the second list. Your function should return false if the lists are not the same length. For example, if the two lists passed are [45, 20, 300] and [50, 41, 600], your function should return True. If the lists are not the same length, you should always return False. all_less([1, 2, 3], [4, 5, 6]) → True all_less([45, 20, 300], [50, 41, 600]) → True all_less([67, 11, 98, -4], [50, 41, 600, 1]) → False ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 290 Post-solution available
Copyright Nick Parlante 2017 - privacy