Can anyone tell me if I can have my program check to see if something is true
the add to count
For example something like
if c_1 and c_2 and c_3 true:
count + 1
or if I can use it after splitting an input the problem is the input is
variable so I don't know if I can do such a thi
Thanks for the information
> Date: Wed, 10 Feb 2010 21:50:53 -0500
> Subject: Re: [Tutor] running split and count + looping to check for numbers
> in same line
> From: ken...@tds.net
> To: fubarni...@hotmail.com
> CC: tutor@python.org
>
> On Wed, Feb 10, 2010 at 6:
I am getting an error when I try and run split and count I seem to get it to
work with one or the other but not together. python wants a character buffer
but I am not sure how to use it.
I would also like to use readline to check and see if several numbers are in
the same line but I think
I am trying to have the search return several numbers or words in a single
sentences now. I don't know if I am using the wrong format I am trying to use
the split method because I thought I could return several parts of a sentence
with it.
For example if it had 1 2 3 4 5 I thought I could sear
Hi I am pretty new to python and programming in general. I am trying to create
a search that takes a user input for a file location and user input to find a
group of numbers or a phrase in that file count how many times it appears then
display it.
I have gone through a tutorials and searched I/