Elif loop

Hallo
I have som issues with a Elif loop it show up empty. I Dont know how to fix it.

The result i like would be
e=[[500,500,500,500,500,500],[500,500,500,500],[400,400,400]]

Are you feeding it a string or a number?

You are appending calc to e only on else condition, you should unindent this line so it has one indent (still within for loop) but isn’t within the scope of an if/else condition.

2 Likes
1 Like

Add Apppend statement after every Calc= line