fork(1) download
  1. # your code goes here
  2.  
  3. function = ['6005', '6110', '6016', '6104', '6151', '6008', '6112', '6062', '6018', [], '6024', [], '6018', '6012', '6027', '6147', '6028', '6027', '6155', '6004']
  4. indices = [i for i, x in enumerate(function ) if x == [] ]
  5. print indices
Success #stdin #stdout 0s 23296KB
stdin
Standard input is empty
stdout
[9, 11]