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
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
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