Ivan_Tatarchuk's blog

By Ivan_Tatarchuk, history, 3 years ago, In English

There is a list a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89].

Print all the elements that are less than 5. _________________________________________________________________________________________________________________________________

Lists are given:

a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89];

b = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13].

You need to return a list that consists of elements that are common to these two lists.

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?