July 2022 1 25 Report
Рассмотрите программный код. Определите сколько раз будет выполнены тело цикла?

p=1
for x in range (-2; 2) :
p=p+x
print (p)

0; 6; 2; 4
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.