A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-February/033119.html below:

[Python-Dev] Re: Trinary Operators

[Python-Dev] Re: Trinary Operators [Python-Dev] Re: Trinary OperatorsGuido van Rossum guido@python.org
Thu, 06 Feb 2003 15:44:03 -0500
> Are they really equivalent?  What about
> 
>     print h() if f() and g()
> 
> versus
> 
>     if f() and g():
>         print h()
> 
> Does g() get called if f() is false?  What about h()?

Do you know the ternary operator in C?

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4