Python 2 VS Python 3

Difference between Python 2 and Python 3

  1. Python 2 is now a legacy due to the current version of Python 3 in use.
  2. The print keyword is the build in function in python 3
  3. Developers took time to adopt Python 3 as it was not compatible with Python 2
  4. To overcome the problem of backward compatibility, Python 2.7 was released 2010.
  5. This compatibility support included improved modules for version 2.7 such as Unittest for test automation and Argparse for parsing command line options.
Python 2 vs Python 3

--

--

--

I’m a good husband, father and Senior Developer.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Building Markus: Hello 🌎!

Our first product — Peudo

42 ways to improve retrospectives

How to run Keras and Tensorflow in Rstudio

Guide: How to Setup SWARM in HiveOS

What are Real-Time System and Real-Time Operating System?

Choosing the Right GCP Solution for your application

##When and how will COVID-19 vaccines become available?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
CodingwithSaud

CodingwithSaud

I’m a good husband, father and Senior Developer.

More from Medium

Python — Dictionaries

Namespaces in Python

Python Fundamental — Part Two : Python Syntax Writing

FUNCTIONS IN PYTHON