Re: Python-list Digest, Vol 196, Issue 26

2020-01-27 Thread DL Neil via Python-list
On 28/01/20 5:17 AM, Michael Torrie wrote: On 1/27/20 12:03 AM, אורי wrote: Please don't reply to digest. Replying to a digest is just fine. Just make sure to change the subject line in the future so people know what it's referring to. Excepting that whilst this practice (subject to faithful

Re: Python-list Digest, Vol 196, Issue 26

2020-01-27 Thread Michael Torrie
On 1/27/20 12:03 AM, אורי wrote: > Please don't reply to digest. Replying to a digest is just fine. Just make sure to change the subject line in the future so people know what it's referring to. -- https://mail.python.org/mailman/listinfo/python-list

Re: Python-list Digest, Vol 196, Issue 26

2020-01-26 Thread אורי
Please don't reply to digest. אורי u...@speedy.net On Mon, Jan 27, 2020 at 8:11 AM Francois van Lieshout < fvliesh...@outlook.com> wrote: > for x in range( 0,10 ): > stars = "" > count = 0 > > while count < x: > stars += "x" > count += 1 > print( stars ) > > x > xx > xxx > xx

RE: Python-list Digest, Vol 196, Issue 26

2020-01-26 Thread Francois van Lieshout
for x in range( 0,10 ): stars = "" count = 0 while count < x: stars += "x" count += 1 print( stars ) x xx xxx x xx xxx x You've got already an "x" placed in your variable stars that's why. -Oorspronkelijk bericht- Van: Python-list