Python compiler error


#1

If i am submitting my python answer i am getting error but while using same test case as custom input it is showing the expected answer…please help