Question: The word 'while can be written in the line before some instructions. Instructions after 'while are being repeated as long as its condition is fulfilled.
The word 'while can be written in the line before some instructions. Instructions after 'while are being repeated as long as its condition is fulfilled.
Question
Which numbers will be printed by the following code?
A
while A :
print A
A A
Which numbers will be printed?
A
O B:
O C:
D:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
