[Python-ideas] Re: while(tt--)

2023-08-21 Thread Chris Angelico
On Tue, 22 Aug 2023 at 05:34, Wes Turner wrote: > > On Sat, Aug 19, 2023, 7:27 PM Celelibi wrote: >> >> 2023-08-04 8:18 UTC+02:00, daniil.arashkev...@gmail.com >> : >> > Currently in Python we have construction like this: >> > >> > tt = 5 >> > while t: >> > # do something >> > tt -= 1 >>

[Python-ideas] Re: while(tt--)

2023-08-21 Thread Wes Turner
On Sat, Aug 19, 2023, 7:27 PM Celelibi wrote: > 2023-08-04 8:18 UTC+02:00, daniil.arashkev...@gmail.com > : > > Currently in Python we have construction like this: > > > > tt = 5 > > while t: > > # do something > > tt -= 1 > > > > It would be great if in Python we have something like