All pastes #124001 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-08-09 19:16 UTC
rendered paste body
listA = ["test","test2","test3"]
listB = ["False","True"]
c = []
for a in listA:
  for b in listB:
    if b == True:
      c.append("dummy")
    #
  #
print len(c)

--------------------------
  File "<stdin>", line 7
    print len(c)
        ^
SyntaxError: invalid syntax