How I will iterate for loop in python for 1 to specific value?
I can iterate on list in python like :
for x in l:
print x
But.
If i wanted to iterate from 1 to number th, in matlab I will do :
str = "abcd"
for i=1:z
for j=1:y
if s(:,i)==s(j,:)'
Seq(i)=str(j);
end
end
end
How I will iterate such in python?