aboutsummaryrefslogtreecommitdiff
path: root/challenge-180/laurent-rosenfeld/python/ch-2.py
blob: a8eaeb0573f393c35797eac45fba113f2e0a7af1 (plain)
1
2
3
4
for test in [3, [1,4,2,3,5]], [4, [9,0,6,2,3,8,5]]:
  i = test[0]
  nums = test[1]
  print(i, nums, " => ", list(filter(lambda n: n>i, nums)))