This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Cantor & Sage: can't create simple cycle.

Tags: None
(comma "," separated)
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.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell