Why this code does not print anything? #1042
Unanswered
sbacelar
asked this question in
Questions about using Pluto
Replies: 2 comments 1 reply
-
You can embed a little terminal directly into the Pluto notebook with using PlutoUI: with_terminal
with_terminal() do
for n ∈ 1:6
println(n)
end
end You can also replace using PlutoUI: Text
Text() do io
for n ∈ 1:6
println(io, n)
end
end |
Beta Was this translation helpful? Give feedback.
0 replies
-
There is also a pull request (#437) that will handle logging done through |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My code was originally like
println(n)
. I know that I can't useprint
inPluto
(the result goes to the console. But why this code does not show anything?Beta Was this translation helpful? Give feedback.
All reactions