Hallo, Ik ben net begonnen met een cursus python op www.developer.com. Hier staat echter een listing in waarop ik een foutcode krijg (zie hieronder):
t1 = "a", t2 = t1*2 if ("b" in t2) print "OK" if ("a" in t2): print "t2" print t2 print "length = ",len(t2) De foutcode die ik krijg is: [EMAIL PROTECTED]:~/python$ python tuple05.py File "tuple05.py", line 10 if ("b" in t2) ^ SyntaxError: invalid syntax [EMAIL PROTECTED]:~/python$ Weet iemand wat er hier fout is? Bij voorbaat dank, Frank -- View this message in context: http://www.nabble.com/if-optie-tf4247363.html#a12087423 Sent from the Python - python-nl mailing list archive at Nabble.com. _______________________________________________ Python-nl mailing list Python-nl@python.org http://mail.python.org/mailman/listinfo/python-nl