Computer Science, asked by pratyushbiswasdgreat, 3 months ago

Convert 'while' loop into 'for' loop
Syntax:
x=10
y=100
if x==y:
print(x)
elif > x:
print(y)
while x<10:
print(x)
x+=1

Answers

Answered by ritendramarkam1129
1

Explanation:

People engage in business for several reasons, but the most compelling reason for many is to earn a substantial income. ... When individuals set up their own businesses, they are able to set their own hours and policies, establish prices, and make all important decisions on how to operate the company.

Answered by ratamrajesh
0

Explanation:

var =100 #This assigns value of the variable var as 100. if(var==100): #The condition is checked using if statement. ... print "Value of expression is 100" # Since the condition is True this statement executed and give output as ' Value of expression is 100'

Similar questions