278 def __match_sequence(self, branch, sequence, tokens):
279 for expression in sequence:
280 if expression.startswith('[['):
281 break; # end of sequence282 if not tokens:
283 self.__log_branch(" partly reduced: %s", branch, sequence)
284 return False # partly
Semicolons are not needed in Python unless using multiple statements in single line. Use of semi-colons add unnecessary clutter.
for x in range(10):
if input[x]:
i = x - 2;
x = i * i;
print(i);
for x in range(10):
if input[x]:
i = x - 2
x = i * i
print(i)