fork download
  1. grid = {}
  2. vt = []
  3. tall = 5
  4.  
  5. for x in range(21):
  6. grid[x] = x*10
  7.  
  8. print(grid)
  9.  
  10. for y in grid.keys():
  11. for z in range(5):
  12. vt.append(grid[(y+(z*tall))])
  13.  
  14. [print(a) for a in vt]
Runtime error #stdin #stdout 0.02s 5860KB
stdin
Standard input is empty
stdout
{0: 0, 1: 10, 2: 20, 3: 30, 4: 40, 5: 50, 6: 60, 7: 70, 8: 80, 9: 90, 10: 100, 11: 110, 12: 120, 13: 130, 14: 140, 15: 150, 16: 160, 17: 170, 18: 180, 19: 190, 20: 200}