Deutsch English Français Italiano |
<6572083e$0$10105$426a74cc@news.free.fr> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed3-b.proxad.net!nnrp2-2.free.fr!not-for-mail From: yves <yves@free.invalid> Subject: Re: Tricher au scrabble... Newsgroups: fr.comp.lang.python References: <uk4fm4$852n$1@dont-email.me> <recherche-20231128131821@ram.dialup.fu-berlin.de> <uk51rm$auel$2@dont-email.me> <656a1a3b$0$10088$426a74cc@news.free.fr> <656a1e57$0$10088$426a74cc@news.free.fr> <874jh1tlp1.fsf@gnus.org> <6570f414$0$27068$426a74cc@news.free.fr> <attribution-20231207165650@ram.dialup.fu-berlin.de> MIME-Version: 1.0 User-Agent: Pan/0.149 (Bellevue; 4c157ba) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 07 Dec 2023 18:00:30 GMT Lines: 35 Message-ID: <6572083e$0$10105$426a74cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 07 Dec 2023 19:00:30 CET NNTP-Posting-Host: 37.67.154.156 X-Trace: 1701972030 news-2.free.fr 10105 37.67.154.156:61604 X-Complaints-To: abuse@proxad.net Bytes: 2203 Le 7 Dec 2023 15:57:34 GMT, Stefan Ram a écrit: > ("The Python Language Reference", Release 3.13.0a0). Oui, j'en profite pour rappeler l'aide intégrée au prompt python : Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> help("while") The "while" statement ********************* The "while" statement is used for repeated execution as long as an expression is true: while_stmt ::= "while" assignment_expression ":" suite ["else" ":" suite] This repeatedly tests the expression and, if it is true, executes the first suite; if the expression is false (which may be the first time it is tested) the suite of the "else" clause, if present, is executed and the loop terminates. A "break" statement executed in the first suite terminates the loop without executing the "else" clause’s suite. A "continue" statement executed in the first suite skips the rest of the suite and goes back to testing the expression. Related help topics: break, continue, if, TRUTHVALUE @+ -- Yves