Why the following code doesn't work inside Sage Cell?

gp("""
square(x)=x^2;
""")
@interactdef _(x=2):
    print(square(x))

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/25a5f980-f93d-4721-94d4-e5f1677b285d%40googlegroups.com.

Reply via email to