Thanks alot looks like i forgot to use ":" at the end of if. It works thanks a bunch :).
if satırsayısı2==isimsatırlistesi[0]:
Thanks for the heads up :)
now it is " satırsayısı2=satırsayısı2+1"
if satırsayısı2==isimsatırlistesi[0]:
(Apr-22-2020, 09:58 AM)anbu23 Wrote: I am able to run your code without error
This code wont print anything due to satırsayısı2=satırsayısı+1
adressatırı=list() satırsayısı2=0 satırdakikelimesayısı=0 for line in fhand: satırsayısı2=satırsayısı+1 if satırsayısı2=isimsatırlistesi[0] # getting the error here print(line)
Thanks for the heads up :)
now it is " satırsayısı2=satırsayısı2+1"