Test case one write but test case 2 is wrong My program is
string='NITIN'
string=string.casefold() rev_str=reversed(string)
if list(string) == list(rev_str):
print("1")
else:
print ("0")
Plz help 🙏
Test case one write but test case 2 is wrong My program is
string='NITIN'
string=string.casefold() rev_str=reversed(string)
if list(string) == list(rev_str):
print("1")
else:
print ("0")
Plz help 🙏