Reply to topic

Cantor & Sage: can't create simple cycle.

User avatar SpeKtre
Registered Member
Posts
10
Karma
0
OS
Hello!

I'am trying to write a simple cycle using Cantor and Sage:

Code: Select all
for i in range(10):
    print i


in output there is nothing but "Syntax Error". (Screenshot: http://imagebin.ca/view/H0TAtE.html)

Any suggestions?
User avatar SpeKtre
Registered Member
Posts
10
Karma
0
OS
Situation became more strange after a few tries: http://imagebin.ca/view/ofvS-nt6.html
arieder
KDE Developer
Posts
32
Karma
0
OS
hi,
this is a known bug in Cantor's sage backend. As a workaround you just have to add an empty line after each block, e.g.
"for i in range(10):
print i

"


arieder, proud to be a member of KDE forums since 2008-Oct.

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], boudewijn, claydoh, DarkFoss1, edward.81, Gallaecio, Google [Bot], Mamarok, mauromol, moreaupi, Sogou [Bot]