fork download
  1. # your code goes here
  2.  
  3. data = [[.0], [.1], [2.0], [3]]
  4. int_list = [ [int(i) for i in item] for item in data]
  5. print(int_list)
  6.  
  7.  
Success #stdin #stdout 0.01s 27664KB
stdin
Standard input is empty
stdout
[[0], [0], [2], [3]]