#!/usr/bin/python2.7 # -*- coding: utf-8 -*- #===================== # Example def main(): f=[] for j in range(10): list.append(f, j) print f # [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] #===================== if __name__ == '__main__': main()
#!/usr/bin/python2.7 # -*- coding: utf-8 -*- #===================== # Example def main(): f=[] for j in range(10): list.append(f, j) print f # [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] #===================== if __name__ == '__main__': main()