#!/usr/bin/python
# coding:utf-8

username="ljinshuan %s"
print username.format("2222")
a = [1, 3, 2, 4]
print a.count(1)
a.sort()
print a


squares = []
for x in range(10):
	squares.append(x**2)
print squares
squares=[x+1 for x in range(10)]
print squares
t=1,2,3
print t


tel={'jack':4098,'sape':4139}
print tel
tel=dict(jack=10,jinshuan=20)
print tel
#遍历
for i,v in enumerate(tel):
	print i,v,tel[v]
import sys
print dir(sys)
import os
print os.getcwd()
os.system("cat test1.py")
