Not able to pass test cases

couldn’t find any error in my code. its giving wrong answers for all the test cases. help me out.
link to my code - https://ide.codingblocks.com/s/230621

hello @pulkit_pandey09

a) print output for each line in separate test case.
b) use else in place of if in line no 57

still not able to pass the test cases. can u please edit my code.

i have already shared ur updated code. pls check my previous response