code_py icon indicating copy to clipboard operation
code_py copied to clipboard

Unnecessary 'else' statement

Open akshay0508 opened this issue 6 years ago • 0 comments

After the for loop has ended there is an unnecessary else statement at the end of for loop. After the loop ends, we can just do this for example: for i in range(1,5): print(i) print('All done')

akshay0508 avatar Jan 16 '19 22:01 akshay0508