Ask Your Question

vigorhead's profile - activity

2020-04-26 03:55:13 +0100 received badge  Student (source)
2019-11-11 10:50:51 +0100 received badge  Notable Question (source)
2017-03-10 09:21:53 +0100 received badge  Popular Question (source)
2013-05-20 07:53:08 +0100 asked a question how to make input_box in this code?

I saw the tower of Hanoi from http://wiki.sagemath.org/animate I just only want to make input box in this sage code, but it doesn't work.

http://alpha.sagenb.org/home/pub/706/ <- Here I did,

I added

@interact
def graph(n=input_box('3', label="Number")):

and spacing all the other lines

What's wrong with this codes?