ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 04 Jan 2017 13:17:37 -0600How to print equations and numbers on a single line:http://ask.sagemath.org/question/36183/how-to-print-equations-and-numbers-on-a-single-line/I am trying to print a string, an equation and a number on the same line using the following form:
B=var('B')
fce=var('fce', latex_name='f_{ce}')
fce=2.80e6 * B
values={B:1.0e5}
print "Electron Gyrofrequency=", show(fce) , "= %0.5e" % fce.substitute(values)
However the output does not show as a single line. Any help would be appreciated.lookin03820Wed, 04 Jan 2017 13:17:37 -0600http://ask.sagemath.org/question/36183/