Home
О нас
Products
Services
Регистрация
Войти
Поиск
Бой22
@Бой22
September 2021
1
17
Report
Питон. Выведите все элементы списка с четными индексами (то есть A[0], A[2], A[4], ...).
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms of service
You must agree before submitting.
Send
Answers & Comments
NameOff
Verified answer
arr = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
# Заполняем элементами массив
for i in range(len(arr)):
if i % 2 == 0:
print(arr[i])
31 votes
Thanks 13
×
Report "Питон. Выведите все элементы списка с четными индексами (то есть A[0], A[2], A[4..."
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
О нас
Политика конфиденциальности
Правила и условия
Copyright
Контакты
Helpful Social
Get monthly updates
Submit
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
arr = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] # Заполняем элементами массивfor i in range(len(arr)):
if i % 2 == 0:
print(arr[i])