Python for Beginners: Evaluation


#1

Originally published at: http://www.itversity.com/2017/12/21/python-for-beginners-evaluation/

Introduction As part of this blog post we will understand following Setup Development environment for Python and Spark Go through basics of Python Programming Perform exercises in Python Learn Core Spark APIs Perform exercises on Core Spark Explore Data Frames and Spark SQL Solve problems using Data Frames and Spark SQL Setup Development Environment on…


#2

raw_input takes the input as it is and returns it as a string but input uses an eval and returns the output.

So passing a 2 to raw_input would return a string as ‘2’ but in case of input, it would return the number 2.