[sage-cell] Re: Language Python does not work

2022-09-16 Thread ekwa...@gmail.com
On Saturday, September 17, 2022 at 6:41:32 AM UTC+9 ekwa...@gmail.com wrote: > On Saturday, September 17, 2022 at 6:32:55 AM UTC+9 ekwa...@gmail.com > wrote: > >> It is also not immediately clear to me what the replacement code must be. >>> >> >> print(eval("code")) >> > > Not sure if this wor

[sage-cell] Re: Language Python does not work

2022-09-16 Thread ekwa...@gmail.com
On Saturday, September 17, 2022 at 6:32:55 AM UTC+9 ekwa...@gmail.com wrote: > It is also not immediately clear to me what the replacement code must be. >> > > print(eval("code")) > Not sure if this works... -- You received this message because you are subscribed to the Google Groups "s

[sage-cell] Re: Language Python does not work

2022-09-16 Thread ekwa...@gmail.com
On Saturday, September 17, 2022 at 5:23:55 AM UTC+9 novo...@gmail.com wrote: > Either nobody has used this language, or they were happy with how it > works, or they suffered silently. It does seem inconsistent with other > languages, but at this point I am not eager to change anything for > his

[sage-cell] Re: Language Python does not work

2022-09-16 Thread Andrey Novoseltsev
There is no automatic output because running your code in Python translates into executing exec(code) in Sage, which does not return anything and so there is nothing to display. Although if you include print(...) inside of your code, you will get the output. Other languages are executed as pr