Saturday, August 6, 2011, 12:08
Posted by Administrator
Case in point:Posted by Administrator
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
( 5898 views )
| permalink
| ( 3 / 49 )