#!/usr/bin/python
#coding=gb2312
L=[[1,2,3],[4,5,6],[7,8,9]];
print L;
print L[1];
print L[1][0];
print L[1][0:-1];
col2=[row[1] for row in L];
print col2;
print [row[1]+1 for row in L];
G=(sum(row) for row in L);
print next(G);
print next(G);
print next(G);
print list(map(sum,L));
D={'book':'SKET','price':100,'color':'red'};
print D;
print D['book'];
print D['price'];
print D['color'];
F={};
F['name']='jack';
F['job']='zhuanjia';
F['age']=15;
print F;
print F['job'];
S={'a':1,'b':2,'c':3};
print S;
ks=list(S.keys());
for key in sorted(ks):
print(key,'=>',S[key]);
ks=list(S.keys());
for key in ks:
print(key,'=>',S[key]);