print [a*100+b*10+c for a in range(1,10) for b in range(0,10) for c in range (1,10) if c==a]
2016-02-04
str.capitalize()
Return a copy of the string with its first character capitalized and the rest lowercased.
Return a copy of the string with its first character capitalized and the rest lowercased.
2016-02-03
(a+b)^2
=(a+b)(a+b)
=a(a+b)+b(a+b)
=a^2+ab+ab+b^2
=a^2+2ab+b^2
=(a+b)(a+b)
=a(a+b)+b(a+b)
=a^2+ab+ab+b^2
=a^2+2ab+b^2
2016-02-03