Python is Awesome 
Saturday, August 6, 2011, 12:08
Posted by Administrator
Case in point:

def fahrenheit(celsius):
fahr = (9.0/5.0)*celsius + 32
return fahr
for temp_c in range (0, 41):
temp_f = fahrenheit(temp_c)
print temp_c,"C" , "| %.1f F" % temp_f


Its almost like too-perfect of a language. I feel like I avoid using it because it is just too nice. Its like some sort of super perl that transforms everything into awesomesauce.

add comment ( 5622 views )   |  permalink   |  $star_image$star_image$star_image$star_image$star_image ( 3 / 4645 )

<<First <Back | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Next> Last>>