[wingide-users] wierd error message
Roelof Wobben
rwobben at hotmail.com
Wed Oct 20 13:42:29 MDT 2010
Hello,
I have this programm :
getal = "1"
vorig = getal[0]
aantal = 0
uitkomst2 = 0
uitkomst = ""
einde = 30
hoevaak = 1
while hoevaak < 30:
for nummers in getal:
if nummers == vorig :
aantal = aantal + 1
vorig = nummers
else:
getal2 = str(aantal)
uitkomst = uitkomst + getal2 + vorig
aantal = 1
vorig = nummers
getal2 = str(aantal)
uitkomst = uitkomst + getal2 + vorig
uitkomst2 = uitkomst2 + len(uitkomst)
hoevaak = hoevaak + 1
print uitkomst
In Eclipse it worked fine.
Now Im gettting this error message :
yntax Error: print uitkomst: c:\Users\wobben\workspace\oefeningen\src\test2.py, line 2214
File "c:\Users\wobben\workspace\oefeningen\src\test2.py", line 22, in ?
print uitkomst
Who knows what can be wrong here ?
Roelof
More information about the wingide-users
mailing list