0

When I runned this code cell:

x = 1
y = 10
/print x y

I got the output: 1 10

I searched why this works but couldn't find any answers. I would be glad if someone explains why.

1 Answers1

0

IPython forward slash documentation

has the same question answered.

In short:

You can force auto-parentheses by using '/' as the first character of a line. For example:

      In [1]: /globals             # becomes 'globals()'