how to find continuous subset from given set of integers?

How can we find all possible CONTINUOUS subset from a given subset?
eg:
a =[1,2,3]

desired output: [1,2,3,12,23,123]

P.S. Null is not required. Also, can I have python implementation?

Its called subarrays. Google how to generate all subarrays.

EDIT-

Link- Subarray/Substring vs Subsequence and Programs to Generate them - GeeksforGeeks

Thanks for that!