#!/usr/bin/env python# coding=utf-8#python 2.7t = [[1,2,0],[1,-1,3],[2,4,-1]]print map(lambda x:[[i,0][i<0] for i in x],t)