[Solved] rdd.foreach(print) Error: SyntaxError: invalid syntax

problem


Solution:

from __future__ import print_function

As follow:

Read More: