Computer Science, asked by vilvanathan72, 5 months ago

predict the output of the following code for X in range(2)to for range(2) to print (x , y and X + Y​)

Answers

Answered by riyaatschool
7

Answer

for x in range(2)

print(x,y and x + y)

the output would be it will print x,y and x+y 2 times as we have given the range value 2 so the code will run 2 time and after that it will stop

please mark brainliest please need 1 for getting promoted

Similar questions