a = "agtfcde"b = "gatfbat"for i in a: if b[0] == i: print(i)
Standard input is empty
g
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!