On Apr 16, 3:00 pm, Chinesekidz wrote:
> Hello!
>
> I would like to know how to write the program to count the total
> number of strings (in the list) used in Python..
>
> for example:
>
> list:['1','2','3','4']
>
> for l in range(4):
> num=input("list:"+list[l]+"(between 1 and 4):")
> i
Did you have a reason to spam us with a second copy of the message after
only 3 minutes? Usually, you should wait a few days, and then REPLY to
the earlier one, don't leave another with the same subject. The way you
did it, some people might respond to one, and some to the other,
creating two sep
On Tue, Apr 17, 2012 at 5:03 AM, Chinesekidz wrote:
> Hello!
>
> I would like to know how to write the program to count the total
> number of strings (in the list) used in Python..
>
> for example:
> [broken example snipped]
> in the case above, it is to show the how many times of strings from
> t
Hello!
I would like to know how to write the program to count the total
number of strings (in the list) used in Python..
for example:
list:['1','2','3','4']
for l in range(4):
num=input("list:"+list[l]+"(between 1 and 4):")
if num.isdigit:
tnum=tnum+int(num)
print("Total numb
Hello!
I would like to know how to write the program to count the total
number of strings (in the list) used in Python..
for example:
list:['1','2','3','4']
for l in range(4):
num=input("list:"+list[l]+"(between 1 and 4):")
if num.isdigit:
tnum=tnum+int(num)
print("Total numb