def start_end_input(): S_i = list(input().split()) E_i = list(input().split()) return(S_i,E_i) print(start_end_input())
gtgt aaat gtttta ttttt gtaaa aaataa
(['gtgt', 'aaat', 'gtttta'], ['ttttt', 'gtaaa', 'aaataa'])
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!