Ask Your Question

How to view multi-line output?

asked 2017-05-24 15:47:58 +0200

screened00 gravatar image

I type expand( (a+b)**20) but I want to see it in a single page, not as a single line? The same for 88**800 I don't want to uncheck the typesetting box.

So is there a function that can display the output in sage's raw format. What is this format, and how do I see it? I know show() and view() which show the output in the latex format, but not sage's output format.

edit retag flag offensive close merge delete


Please mention how is sage started. (For me there exists only a linux terminal command line, sage comes "in iron", and there the results are using the usual string information of the objects. There is never a box to be unchecked for me. Moreover, there is a regular backward search, an interaction with the operating system...)

dan_fulea gravatar imagedan_fulea ( 2017-05-24 18:44:19 +0200 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2017-05-24 19:26:33 +0200

How about print(expand(a+b)**20)?

edit flag offensive delete link more

answered 2017-05-26 19:42:49 +0200

screened00 gravatar image

Your are right john.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-05-24 15:47:58 +0200

Seen: 852 times

Last updated: May 26 '17