To proceed with this post you need to install Anaconda. Please read this post.
The first difference is in the name itself. print is now a function in Python and not a statement. This means we will have to write print(x) everytime and not just print x.
Every print statement is ended by a newline “\n”
Thus writing three print statements would print them all in different lines.
To override this default behavior we need to define the the end variable.
The output should be self explanatory.
Then we can have printing using format specifiers like printf in C.
Next, we will learn the format function.