On Mon, May 23, 2016, at 13:33, Chris Angelico wrote:
> and then you can use the special "tagged literal" syntax, like with
> special forms of string literal:
> 
> >>> f*22/7 + f*2/11
> Fraction(256, 77)

I like the infix fraction literal syntax better: 22/f/7 + 2/f/11.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to