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.
Asked
Active
Viewed 1,689 times
-2
-
+) fyi, I was following a lecture video which uses python2, but I'm using python3 – user9690000 Apr 24 '18 at 08:47
1 Answers
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