Hello,
I need a string consisting of a repetition of a particular character.At the python console, if i type :
n = '0'*8
Then n gets assigned a string consisting of 8 zeroes,which is what i expect.
But, if i have the same in a python program (.py file), then the program aborts with an error saying 'can't multiply sequence by non-int of type 'str''
Any way to fix this ?
Thank You