I need to identify the sequence order in the myst(n) function when it is called to then be able to give the output of myst(4). The function is defined as follow:
def myst(n):
if n > 1:
myst(n - 1)
for i in range(n):
print(n, end='')
print()
myst(4)
OUTPUT
22
333
4444
But i can't understand why myst(4) gives this output, hence the misunderstanding of the sequence.