Dear members,
I need to write a small loop to generate the following:
0 0 0 0 .... 0
1 1 1 .... 1
2 2 .... 2
3 .... 3
4
:
299
I think it needs a double loop but since i am still beginner in python i am struggling to work it out.
Could you please comment or suggest an easy way?
Thanks very much in advance.
Nicholas