Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Built-In Iterators in Use | Python Iterators
Концепції функціонального програмування в Python

bookChallenge: Built-In Iterators in Use

Свайпніть щоб показати меню

Завдання

Проведіть, щоб почати кодувати

Write a function named format_scores that takes two lists, names and scores, of equal length.

  • Use Python's built-in iterators to process both lists in parallel.
  • The numbering should start at 1.
  • Return a list of these formatted strings, in order.
  • Expected result: '1. Alice scored 85', '2. Bob scored 92', '3. Charlie scored 78'.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 5. Розділ 2

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

Секція 5. Розділ 2
some-alt