Rewrite the following statements after correcting them:
1. a=100
b=20
if(a>b)
print(a)
else
print(b)
Answers
Answered by
0
Answer:
1. a=100
b=20
if (a>b)
print(a)
else
print(b)
2. X=290
y=300
if x>y and y<100
print(x+10)
else if y>x orx<100:
print(y+10)
else
print(x+y)
3. a=’hello’
print(a*4)
Similar questions
Math,
5 hours ago
Business Studies,
5 hours ago
Environmental Sciences,
5 hours ago
English,
9 hours ago
Business Studies,
9 hours ago
Physics,
8 months ago
India Languages,
8 months ago