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

WTF

Name: Anonymous 2010-12-12 20:51


>>> 7.0/3
2.33333333333333333335


WTF

Name: Anonymous 2010-12-13 11:55

OP's problem:
irb(main):001:0> 7.0/3
=> 2.3333333333333335

NOW THIS:
irb(main):003:0> 22/7.0
=> 3.142857142857143
irb(main):004:0> Math::PI
=> 3.141592653589793

=> 3.142857142857143
=> 3.141592653589793
       |||||||||||||

WTF RUBY

Name: Anonymous 2010-12-13 12:20


0]=> python
Python 3.1.2 (r312:79147, Oct  4 2010, 12:35:40)
[GCC 4.5.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 7.0/3
2.3333333333333335
>>> 22/7.0
3.142857142857143
>>> import math
>>> math.pi
3.141592653589793


FUCK YEAH, PYTHONG.

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