Y
yinglcs
Can you please tell me why the following code does not work in python?
My guess is I need to convert 'count' from a string to an integer. How
can I do that?
And my understanding is python is a dynamic type language, should
python convert it for me automatically?
count = sys.argv[2]
for i in range(count):
#do some stuff
Thank you.
My guess is I need to convert 'count' from a string to an integer. How
can I do that?
And my understanding is python is a dynamic type language, should
python convert it for me automatically?
count = sys.argv[2]
for i in range(count):
#do some stuff
Thank you.