This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Choose the best response for each question.
Why use Polyglot Notebooks?
Support for multiple languages within a single notebook.
To build an app.
To query a database.
What's the best approach to share values?
Use the #!share magic command.
#!share
Use the #!set command.
#!set
You can't share values.
How can you ask the user for input in the context of magic commands in a Polyglot Notebook?
You can't.
You call Kernel.GetInputAsync("Some prompt text.").
Kernel.GetInputAsync("Some prompt text.")
You call the @input command.
@input
You must answer all questions before checking your work.
Was this page helpful?