Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

lol MIT

Name: Anonymous 2011-01-18 11:18

Input: print 5 == 5.0

Output: True1

--
1Scheme (the initial language taught at MIT before Python) took type to an extreme. 5.0 and 5 were not considered equal because one was an integer and the other was a float. You weren’t even allowed to do (4 + 6.0.) Python is more rational – it treats the two values as equal.

Name: Anonymous 2011-01-18 12:11

>>3
Poor XARN, give me your webmoney address and I'll send you $0.20 so you can buy yourself the whole 252MB of additional disk space (based on current average price per HDD TB).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List