| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
не разобрался с задачей №5 к уроку 3
There was a problem hiding this comment.
''' Можно сделать так'''
data = [1, 2, 3, 44, 'ans', ['vlog'], 20, 6, 'мозги', 14, 88]
for type_index in data:
print(type(type_index))
Sorry, something went wrong.
| ''' | ||
|
|
||
| my_list = [1, 4, 4, 2, 3, 2, 8, 10, 8, 5] | ||
| my_new_list = [el for el in my_list if my_list.count(el) < 2] |
There was a problem hiding this comment.
Здесь условие неправильно: my_list.count(el) < 2. Должно быть: ==1
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Задание №7 (не получилось реализовать ветвление при вычитании в задании №7.2 для исключения отрицательных результатов)
UPD. Добавлены упражнения к 8 уроку