Rewrite the incorrect statement by correcting in the following program
a=100
b=20
if(a>b)
print(a)
else
print(b) m
class 8
Answers
Answered by
2
Question:-
Rewrite the following after removing the errors.
Answer:-
Given Python Code,
a=100
b=20
if(a>b)
print(a)
else
print (b)m
The given code after removing the errors will be,
a=100
b=20
if(a>b):
print(a)
else:
print(b)
Similar questions