Hello! For example I have variable p in sage notebook. I need my class can find out the name of variable:
sage: p = 3
sage: my_class(p)
ans: 'p'
How to implement this feature? Thanks.
1 | initial version |
Hello! For example I have variable p in sage notebook. I need my class can find out the name of variable:
sage: p = 3
sage: my_class(p)
ans: 'p'
How to implement this feature? Thanks.
2 | No.2 Revision |
Hello! For example I have variable p in sage notebook. I need my class can find out the name of variable:
sage: p = 3
sage: my_class(p)
ans: 'p'
How to implement this feature? Thanks.Thanks.
P.S.: sorry if my english isn't good.
3 | retagged |
Hello! For example I have variable p in sage notebook. I need my class can find out the name of variable:
sage: p = 3
sage: my_class(p)
ans: 'p'
How to implement this feature? Thanks. P.S.: sorry if my english isn't good.