Construct the code which outputs the following pattern.
*
**
***
****
for i in range(1,5):
    print('*' * i)
<sys>[INST] Construct the code which outputs the following pattern. [/INST] Input:
*
**
***
**** </sys>