Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Rainer Rosenthal Newsgroups: comp.soft-sys.math.maple Subject: Re: Printing in Jupyter notebooks Date: Sat, 29 Apr 2023 23:28:44 +0200 Lines: 33 Message-ID: References: <4920d869-beec-44d2-9d76-741a8764d77an@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net U+ffUx8JXv21NRwLr38vhwlN92PskPhP/4IQppnOU/Jvc4WlI= Cancel-Lock: sha1:cLuD3SQpcRmM1XbHSza2efcIjHA= User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 In-Reply-To: <4920d869-beec-44d2-9d76-741a8764d77an@googlegroups.com> Xref: csiph.com comp.soft-sys.math.maple:1379 Am 29.04.2023 um 21:59 schrieb Jerry Place: > On Saturday, April 29, 2023 at 1:44:03 PM UTC-5, peter....@gmail.com wrote: >>> for n from 0 to 5 do print(n) od; >> >> What do you expect to see? >> Well, in Jupyter Notebooks I see: "5". >> >> How to fix this? > |\^/| Maple 18 (X86 64 LINUX) > ._|\| |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2014 > \ MAPLE / All rights reserved. Maple is a trademark of > <____ ____> Waterloo Maple Inc. > | Type ? for help. >> for n from 0 to 5 do print(n) od; > 0 > > 1 > > 2 > > 3 > > 4 > > 5 > So maybe it's a problem with carriage return / line feed, i.e., the lines are printed without line feed? Cheers, Rainer