d occur. Often it is suitable error because one does
not spot that an intermediate calculation is incorrectly implemented.
--
Jay Lozier
jsloz...@gmail.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
e runs correctly as written. There are no
error messages.
I was able to run the code without any errors. I copied and pasted the
code into a text editor (Notepad on Windows or idle3) and removed the
extraneous prompts, echoed output, and spaces.
When saving the file the extension should be *.py.as in pizza.py
--
Jay Lozier
jsloz...@gmail.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
ally able to help
> me, so I was wondering I give it a try here.
> Thanks,
> Rafael
Rafael,
I have both Python 2.7.3 and 3.3.0 installed on openSUSE 12.3. To use
3.3 I enter python3.3 at the prompt. If I enter python it defaults to
2.7.3
In the shebang #!/usr/bin/env pyt
,
Marc*
*
The variables low_range and high_range are not modified. The arguments
to random.randint do not change the initial values of the variables,
only the actual values passed.
--
Jay Lozier
jsloz...@gmail.com
___
Tutor maillist - Tutor@python.or
"", line 1, in
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 0:
invalid start byte
>>>
I am probably missing something very obvious.
Thanks in advance!
--
Jay Lozier
jsloz...@gmail.com
___
Tuto
Alan
I am planning to store the passwords encrypted. This part is allow a
user to generate and view the generated password.
Ben got me pointed to a snippet I can use. I was trying to do something
the hard way.
Jay
On 03/06/2014 07:34 PM, Alan Gauld wrote:
On 06/03/14 23:32, Jay Lozier
tes over the range from 0 to n-1 (5 times). I
included the index variable in the print to show the increase of the index.
The results for both:
0 some string
1 some string
2 some string
3 some string
4 some string
--
Jay Lozier
jsloz...@gmail.com
_
ly
against a person. Then write the "do stuff" to replicate that. Hint:
you do not need to generate random guesses within the while loop.
--
Jay Lozier
jsloz...@gmail.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Deb,
Can you show us your full code listing or if it is lengthy the relevant
section showing the print statement. My guess is your print formating is
not specified correctly and it is rounding to the nearest whole number.
Jay
--
Jay Lozier
jsloz...@gmail.com
_
LN
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
--
Jay Lozier
jsloz...@gmail.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
On 06/02/2017 09:07 PM, Mats Wichmann wrote:
I don't think "what the authors might want" is the only factor here.
Personally, I think these programming challenge sites probably do more
harm than good, discouraging people that they're not good enough to be a
programmer because they can't solve t
11 matches
Mail list logo