a = input().split()b = input().split()c = [a[i]+b[i] for i in range(min(len(a), len(b)))]print(c)
a 3 4 d c 5
['ad', '3c', '45']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!