Spaces:
Runtime error
Runtime error
There is an else statement that is present in the code which is not required so it is removed
#3
by Yeshwant123 - opened
There is an else statement that is present in the code which is not required as there is a return statement so it can be removed and the else block can be shifted to front.