Skip to main content
Logo

Python programming a ...

    • Қазақша ‎(kk)‎
    • Русский ‎(ru)‎
    • English ‎(en)‎
  • Log in
SYSTEMS.ENU Collapse Expand
PLATONUS.ENU DIRECTUM.ENU MAIL.ENU MY.ENU MOODLE.ENU MOOC.ENU
SYSTEMS.ENU Collapse Expand
PLATONUS.ENU DIRECTUM.ENU MAIL.ENU MY.ENU MOODLE.ENU MOOC.ENU
  1. Courses
  2. Дистанционное обучение
  3. Факультеты
  4. Факультет информационных технологий
  5. Кафедра Информатика
  6. Python programming application (Карымсакова А.Е.)/2024-2025 academic year
  7. Topic 7. Game programming with Python
  8. Task 7
  • More

Task 7

Completion requirements
Opened: Saturday, 2 November 2024, 12:00 AM

Exercise 7 (and Solution)

Let’s say I give you a list saved in a variable: a = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]. Write one line of Python that takes this list a and makes a new list that has only the even elements of this list in it.


Data retention summary
Get the mobile app
Яндекс.Метрика