I am out of trial and error again Lists
Seymore4Head at Hotmail.invalid
Fri Oct 24 21:07:06 CEST 2014
On Fri, 24 Oct 2014 19:40:39 +0100, Mark Lawrence
<breamoreboy at yahoo.co.uk> wrote:
>On 24/10/2014 19:20, Seymore4Head wrote:
>> I meant to type:
>> if y in range(1,10) doesn't work.
>How many more times, state what you expect to happen and what actually
>happens. "doesn't work" is useless. Please read this http://sscce.org/
OK how is this?
It doesn't print what I expect.
Does it print what you expect?
for x in name:
if x in range(10):
if x in str(range(10)):
print ("String range",(x))
More information about the Python-list