fork download
  1. table = [0]*120
  2. for diff in range(1, 14):
  3. head = 120 - diff
  4. for i in range(head, 0, -diff):
  5. table[i] = head
  6.  
  7. print(table)
Success #stdin #stdout 0.02s 9164KB
stdin
Standard input is empty
stdout
[0, 113, 118, 107, 116, 115, 114, 119, 112, 117, 109, 119, 108, 119, 118, 113, 107, 119, 114, 119, 110, 109, 113, 119, 108, 115, 118, 117, 116, 107, 110, 119, 109, 117, 118, 115, 108, 119, 118, 111, 110, 119, 107, 109, 116, 115, 118, 119, 108, 119, 110, 117, 116, 119, 109, 107, 112, 111, 118, 119, 108, 119, 118, 117, 112, 109, 111, 119, 107, 117, 110, 113, 108, 119, 118, 111, 109, 119, 113, 119, 110, 107, 118, 119, 108, 113, 118, 109, 112, 119, 110, 119, 113, 111, 107, 115, 108, 119, 109, 113, 110, 119, 111, 119, 112, 115, 113, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119]