comparison python/tests/utils.txt @ 742:fe71639f1ee7 dev

merge and added function to up-/lower-case strings
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 28 Aug 2015 10:39:15 -0400
parents c35e4a4b199d
children 4b3518f6dd01
comparison
equal deleted inserted replaced
741:5b91b8d97cf3 742:fe71639f1ee7
1 >>> from utils import * 1 >>> from utils import *
2 >>> from moving import Point 2 >>> from moving import Point
3
4 >>> upperCaseFirstLetter('mmmm... donuts')
5 Mmmm... Donuts
3 6
4 >>> computeChi2([],[]) 7 >>> computeChi2([],[])
5 0.0 8 0.0
6 >>> computeChi2(range(1,10),range(1,10)) 9 >>> computeChi2(range(1,10),range(1,10))
7 0.0 10 0.0