-2

I'm getting errors from the two loops below. Is there anything wrong with the syntax? I just started to learn how to use Jupyter Notebook.

Tagc
  • 8,736
  • 7
  • 61
  • 114

1 Answers1

0

You can not use python 2 syntax if you are using python 3 compiler.

Missing parentheses should give you a clear clue about how you should use print.

BcK
  • 2,548
  • 1
  • 13
  • 27