X = 2
fori in range(x):
X += 1
print(x)
what is the output
Answers
Answered by
1
Answer:
The output will be:
---------------------------------------------
3
4
---------------------------------------------
Explanation:
Let me correct the codes first:
-------------------------------------------
x=2
for i in rage (x):
x+=1
print(x)
-------------------------------------------
The output will be:
---------------------------------------------
3
4
---------------------------------------------
Similar questions
Chemistry,
5 months ago
Accountancy,
11 months ago
Computer Science,
11 months ago
French,
1 year ago
Physics,
1 year ago