How do i make a list change like this?
<p>I need a python program that starts with the list <code>a=[1]</code> and then changes it to be <code>2</code> then <code>3</code> ... then <code>5</code> then adds another element and the list becomes <code>1,1</code> then becomes <code>1,2</code>, etc until it becomes <code>5,5</code> and adds another element and becomes <code>1,1,1</code> and keeps going until it has 11 elements equal to 5 so it ends with <code>5,5,5,5,5,5,5,5,5,5,5</code></p>
