Image for post
Image for post
Photo by Chris Ried on Unsplash

As you might have noticed, there are a lot of people talking about which language is better between Python and Julia. Some say that Python is better and others say that Julia is better. However, there are pros and cons in each of them which makes one better in one situation and make the other better in another situation. There are a lot of articles discussing “Python vs Julia”. So, I’m not going to discuss that here.

I come from a Python background. What I observed when I started learning Julia is how similar and easy to learn these basic Julia syntaxes are for a person who knows Python. However, instead of going over each of the data types, conditionals, loops and functions and discussing the similarities and differences of those syntaxes, I will be solving a simple problem in Python and will do the same algorithm in Julia. …

About

Dinithi Weerakoon

Undergraduate of University of Moratuwa

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