Цикл с параметром. Урок 2

Дан Фрагмент кода программы.

S=0

for x in range(-2, 2):

S = S+X

Какие значения принимает параметр х?

-2, 0, 2

-2, -1, 0, 1, 2

-2, -1, 0, 1

-2, -1, 1, 2
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.