On 15/06/2019 05:53, mhysnm1...@gmail.com wrote:
> In C, Perl and other languages.
As a point of interest not all languages have these constructs.
Oberon, for example, only has a while loop because it can be
used to simulate all other loop types. Some Lisp dialects
don't even have a loop constru
On 15Jun2019 14:53, Sean Murphy wrote:
In C, Perl and other languages. While only uses a conditional statement
and
for uses an iteration. In python while and for seems to be the same and I
cannot see the difference.
No, they're really much as in other languages.
In general (most languages),
On Sat, Jun 15, 2019 at 02:53:43PM +1000, mhysnm1...@gmail.com wrote:
> All,
>
>
>
> In C, Perl and other languages. While only uses a conditional statement and
> for uses an iteration. In python while and for seems to be the same and I
> cannot see the difference.
Python ``while`` uses a cond
All,
In C, Perl and other languages. While only uses a conditional statement and
for uses an iteration. In python while and for seems to be the same and I
cannot see the difference. Python does not have an until (do while) where
the test is done at the end of the loop. Permitting a once through