A python is a great tool for the development of programs that perform data manipulation whereas R is statistical software that works on a particular format of the dataset. Python provides the various development tools which can be used to work with machine learning & other systems. R has a learning curve to it.