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 > xxxx > xxxxx > xxxxxx > xxxxxxx > xxxxxxxx > xxxxxxxxx > > You've got already an "x" placed in your variable stars that's why. > > > -----Oorspronkelijk bericht----- > Van: Python-list <python-list-bounces+fvlieshout=outlook....@python.org> > Namens python-list-requ...@python.org > Verzonden: zondag 26 januari 2020 18:00 > Aan: python-list@python.org > Onderwerp: Python-list Digest, Vol 196, Issue 26 > > Send Python-list mailing list submissions to > python-list@python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/python-list > or, via email, send a message with subject or body 'help' to > python-list-requ...@python.org > > You can reach the person managing the list at > python-list-ow...@python.org > > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Python-list digest..." > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list