Apr-22-2020, 11:11 AM
Hey everyone,
I am trying to get every word in line to a list however i am getting error " AttributeError: 'str' object has no attribute 'append'". Any ideas are welcome, thanks in advance.
I am trying to get every word in line to a list however i am getting error " AttributeError: 'str' object has no attribute 'append'". Any ideas are welcome, thanks in advance.
if satırsayısı2==isimsatırlistesi[0]: for word in line2: word.append(str(adressatırı)) #[b]AttributeError: 'str' object has no attribute 'append'[/b] satırdakikelimesayısı=len(adressatırı) print(adressatırı[2:satırdakikelimesayısı])