Определи результат переменной y после выполнения кода программы Python, если начальное значение x = 2.
if x = = 0:
y
=
x
+ 3
elif x = = 1:
y
=
x *
2
elif x = = 2:
y
=
x -
3
else:
y
=
x
y = 2
y = 5
y = -1
y = 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.