Python String to list l = list(s) List to string s = 'x'.join(l) (x- seperator, can be anything) Take multiple input in single line x, y = input().split() int: x, y = map(int, input().split())