Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
$\begingroup$Thanks for your anwer Hari, yes indeed, but then repeating values every 3 times. So I want index 0,1,2 to have a value of 72. Index 3,4,5 to have a value of 144. Index 6,7,8 to have a value of 216 and so forth. Like the blue text indicates in the example image. Do you maybe know a way to do this? Again, thanks for your answer.$\endgroup$
$\begingroup$Yes exactly like that! I tried everything with a repeat list which was wrong apparently. Thanks for your answer, it helps me a lot!$\endgroup$