str_1 = "가나다라"str_2 = "가나다마" for i in range(len(str_1)): print(str_1[i] == str_2[i])
Standard input is empty
True True True False
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!