tasks for beginners on the topic of lists

Правка en1, от Ivan_Tatarchuk, 2024-01-28 13:32:27

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.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Ivan_Tatarchuk 2024-01-28 13:32:27 489 Initial revision (published)