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
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
On 27/01/20 1:53 PM, Richard Damon wrote:
On 1/26/20 6:52 PM, DL Neil via Python-list wrote:
On 27/01/20 4:15 AM, ferzan saglam wrote:
Hello people, I have written the code below which works fine, but it
has one small problem. Instead of printing one (x) on the first line,
it prints two.
I ha
On 1/26/20 6:52 PM, DL Neil via Python-list wrote:
On 27/01/20 4:15 AM, ferzan saglam wrote:
Hello people, I have written the code below which works fine, but it
has one small problem. Instead of printing one (x) on the first line,
it prints two.
I have tried everything in my knowledge, but ca
On 2020-01-27 13:02:03 +1300, DL Neil via Python-list wrote:
> Looks as if Dilbert is about to draft a PEP to change Python's world-view:
> https://dilbert.com/strip/2020-01-24
>
> Curiously, "canard" whilst a French word for "duck", in English describes a
> rumor or false-story!
Interesting: In
Looks as if Dilbert is about to draft a PEP to change Python's
world-view: https://dilbert.com/strip/2020-01-24
Curiously, "canard" whilst a French word for "duck", in English
describes a rumor or false-story!
--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list
On 27/01/20 4:15 AM, ferzan saglam wrote:
Hello people, I have written the code below which works fine, but it has one
small problem. Instead of printing one (x) on the first line, it prints two.
I have tried everything in my knowledge, but cannot fix the problem.
Thanks for any help in advance.
On 27/01/20 12:08 PM, pyotr filipivich wrote:
Growth Hacking Formation on Sun, 26
Jan 2020 12:36:05 -0800 (PST) typed in comp.lang.python the
following:
Hi guys,
I need your help please to sold a complicate problem.
It is difficult for me to find the solution but in fact, I am sure it is jus
On 1/26/20 6:11 PM, Greg Ewing wrote:
On 27/01/20 4:15 am, ferzan saglam wrote:
for x in range ( 0, 10):
stars = 'x'
count = 0
By the way, this 'for' loop is unnecessary. The end result is just to
give initial values to three names. You don't need a loop at all for
that, just three assign
On 27/01/20 4:15 am, ferzan saglam wrote:
for x in range ( 0, 10):
stars = 'x'
count = 0
By the way, this 'for' loop is unnecessary. The end result is just to
give initial values to three names. You don't need a loop at all for
that, just three assignment statements.
Growth Hacking Formation on Sun, 26
Jan 2020 12:36:05 -0800 (PST) typed in comp.lang.python the
following:
>Hi guys,
>
>I need your help please to sold a complicate problem.
>
>It is difficult for me to find the solution but in fact, I am sure it is just
>a few lines of code.
>
>The problem is a
Le 26/01/2020 à 21:36, Growth Hacking Formation a écrit :
Hi guys,
I need your help please to sold a complicate problem.
It is difficult for me to find the solution but in fact, I am sure it is just a
few lines of code.
The problem is about some kind of multidimensional loop with some test IF
Hi guys,
I need your help please to sold a complicate problem.
It is difficult for me to find the solution but in fact, I am sure it is just a
few lines of code.
The problem is about some kind of multidimensional loop with some test IF.
I worked hours on it, but I am a newbie and it is too dif
On 1/26/20 10:15 AM, ferzan saglam wrote:
Hello people, I have written the code below which works fine, but it has one
small problem. Instead of printing one (x) on the first line, it prints two.
I have tried everything in my knowledge, but cannot fix the problem.
Thanks for any help in advance.
suggest a scrollable widget which on loads appends labels with members
birthdays in it.
If 3 members have birthdays today, it will append 3 labels
On Sun, 26 Jan 2020, 21:39 Souvik Dutta, wrote:
> I am making a birthday reminder app. I want to show tha label (" Today is
> Tom's birthday.") Assu
I am making a birthday reminder app. I want to show tha label (" Today is
Tom's birthday.") Assuming Tom has a birthday.
But I want this label to be visible only when someone has a birthday today.
I am using datetime module to check the date. How can I do this?? Any help
is appreciated.
--
https:/
On Sunday, January 26, 2020 at 3:26:40 PM UTC, Dan Purgert wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> ferzan saglam wrote:
> > Hello people, I have written the code below which works fine, but it
> > has one small problem. Instead of printing one (x) on the first line,
> > it p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
ferzan saglam wrote:
> Hello people, I have written the code below which works fine, but it
> has one small problem. Instead of printing one (x) on the first line,
> it prints two.
> I have tried everything in my knowledge, but cannot fix the problem
Hello people, I have written the code below which works fine, but it has one
small problem. Instead of printing one (x) on the first line, it prints two.
I have tried everything in my knowledge, but cannot fix the problem.
Thanks for any help in advance.
for x in range ( 0, 10):
19 matches
Mail list logo