I am out of trial and error again Lists
Mark Lawrence
breamoreboy at yahoo.co.uk
Wed Oct 22 18:55:57 EDT 2014
On 22/10/2014 23:30, Seymore4Head wrote:
> On Wed, 22 Oct 2014 16:30:37 -0400, Seymore4Head
> <Seymore4Head at Hotmail.invalid> wrote:
>
> One more question.
> if y in str(range(10)
> Why doesn't that work.
Invalid syntax, it should obviously be:-
if y in str(range(10)):
OTOH if you've simply mistyped above what did you expect to happen and
what actually happened? Give us the actual code that you ran and the
full traceback.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Python-list
mailing list