PageRenderTime 10ms CodeModel.GetById 8ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/sch/test.py

https://bitbucket.org/ysfujii/doublewell
Python | 3 lines | 3 code | 0 blank | 0 comment | 4 complexity | f69738cdeabdaa46dbebc35563575d83 MD5 | raw file
1data = [ float( i.split()[1] ) for i in open( "l0_04.txt" ).read().splitlines() ]
2print data
3print sum( i  * i for i in data )