Gwenhael Le Moine a écrit : > [23:52:13]@tiga:~/Films☻ $ irb > irb(main):001:0> p 6/2*1+2 > 5 > => 5 > irb(main):002:0> > > [23:52:31]@tiga:~/Films☻ $ python > >>> print 6/1*1+2 > 8 > > So if I want the same result I need () which I end up using even when > not strictly necessary, even more keystrokes :P
No, if you really want the same result what you really need is to enter the same expression! ;-) progfou@virus:~$ python >>> 6/2*1+2 5 -- Jean Christophe ANDRÉ — Coordonnateur des infrastructures techniques Agence universitaire de la Francophonie (AUF) — http://www.auf.org/ ✉ : AUF, 21 Lê Thánh Tông, T.T. Hoàn Kiếm, Hà Nội, Việt Nam ℡ : +84 4 38247382 ✦ ℻ : +84 4 38247383 ✦ Cellul. : +84 91 3248747 ⎧Note personnelle: merci d'éviter de m'envoyer des fichiers Microsoft⎫ ⎩Office, cf http://www.gnu.org/philosophy/no-word-attachments ⎭ _______________________________________________ POST RULES : http://wiki.hanoilug.org/hanoilug:mailing_list_guidelines _______________________________________________ HanoiLUG mailing lists: http://lists.hanoilug.org/ HanoiLUG wiki: http://wiki.hanoilug.org/ HanoiLUG blog: http://blog.hanoilug.org/