Python3 vs Python2 – The Final Showdown

The Differences Between Python3 and Python2… Who will win?!

Python3 is the new version of Python2, There is no support for Python2 at this moment, But There are some people Who still use it until this day.
Undoubtedly I would recommend anyone to use Python3, Especially if you’re getting started.

The Big Differences Between Them

Firstly and most importantly

The Print Statement


print "Python2 is here"


print("Python3 is here")

The Input Statement


raw_input() – For Strings only
input() – For Integers (Numbers) only

string = raw_input("Give Me Strings only: ")
int = input("Give Me Integer only: ")


input() – For All Kinds Of Input

something = input("Give Me Something (Please no EOF): ")
Shame on you!

Variables In The Print Statement

That might be a weird one But Still True


msg = "Hi"
print("The message entered is % " % msg)


msg = "Hi" 
print("The message entered is {0} ").format(msg))

Not Equal Operator


1 <> 2


1 != 2

There Are Allot Of Other Differences

I covered what I think are the most important ones
And as an Unknown once said:

I Love you all 😛






One thought on “Python3 vs Python2 – The Final Showdown

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s