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/2000-July/006123.html below:

[Python-Dev] re: list comprehension / pop quiz

[Python-Dev] re: list comprehension / pop quizKa-Ping Yee pingster@ilm.com
Tue, 11 Jul 2000 14:31:24 -0700 (PDT)
On Tue, 11 Jul 2000, Guido van Rossum wrote:
> What do you think the following code would print?
> 
>     for i in (10, 20, 30); j in (1, 2, 3):
>         print i+j
[...]
> I'm afraid the answer will be the same, if these are again numerical
> analysts -- these people live by nested DO loops. :-(

What do you think the answer would be for

    for i; j in (10, 20, 30); (1, 2, 3):
        print i+j

?  Would you consider posing this question?


-- ?!ng




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