e$B$J$s$H$J$/;W$C$?$N$G$9$,!“e(B/e$B$O@0?t=|;;e(B(e$B$H$$$&$+%*%Z%i%s%I$N7?e(B)e$B$Ne(B
e$B$^$^$K$7$F!”?7$?$Ke(B//e$B$rDI2C$7$Fe(BFloate$B$de(BRationale$B$rJV$9$h$&$K$9$k$He(B
e$B$$$&$N$G$O$^$:$$$N$G$7$g$&$+!#e(B
e$B0JA0$O!"$=$N$h$&$J$3$H$b9M$($F$$$^$7$?!#$G$b$3$l$Oe(B ruby
e$B$8$c$J$/$Fe(B
nuby e$B$J$N$G!“KM$,9M$($k!“K\Mh$=$&$”$k$Y$-$@$C$?;Q$K$7$F$”$j$^$9!#e(B
python 2.x e$B$G$O!"e(B10 / 3 e$B$O!"e(B3 e$B$G$9$,!"e(Bpython 3.x
e$B$G$O!"e(B3.333… e$B$G$9$7!"e(B
print e$BJ8$O!"e(Bprint e$B4X?t$K$J$j$^$7$?e(B
(e$B0z?t$K3g8L$,I,MWe(B)e$B!#$3$l$i$O7k9=Bge(B
e$B$-$JJQ99$+$b$7$l$^$;$s$,!"7hCG$7$?$o$1$G$9$h$M!#e(Bpython
e$B$K$OJ#AG?t$bAHe(B
e$B$_$3$^$l$F$$$^$9!#e(B
e$B%Q%C%A$r$_$^$7$?$,!"$3$N$^$^$@$H!“J8K!%(%i!<$K$J$k>l9g$,$”$j$^$9$M!#0Je(B
e$BA0$N$h$&$K!"e(B/ e$B$HF1MM!"e(Blex_state e$B$N@_Dj$,I,MW$J$N$+$J!#e(Be$B$I$&$$$&>l9g$G$7$g$&$+!#e(B
$ ./nuby -e ‘3 // 1’
$ ./nuby -e ‘3 // (1 + 1)’
-e:1: syntax error, unexpected ‘(’
3 // (1 + 1)
^
-e:1: syntax error, unexpected ‘)’, expecting $end
lex_state e$B$r@_Dj$9$k$h$&$K$7$F!"%(%i!<$O$J$/$J$j$^$7$?!#e(B