I would like to print data within a signle input block in a way something like this:
In[153]:= a = 5;
Print[a];
(*expected output (5) here*)
b = 3;
Is there any way to achive this effect?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityI would like to print data within a signle input block in a way something like this:
In[153]:= a = 5;
Print[a];
(*expected output (5) here*)
b = 3;
Is there any way to achive this effect?