so clearly you can see the difference how simple it is to code in python.
further python code is always relatively smaller and cleaner to look at than other programming languages.
this program adds two number in python:
num1 = 1.5
num2 = 6.3
sum = num1 + num2
print('the sum of', num1, '+', num2, 'is: ', sum)
this program adds two numbers in JAVA:
class Main {
public static void main(String[] args) {
System.out.println("Enter two numbers");
int first = 10;
int second = 20;
System.out.println(first + " " + second);
// add two numbers
int sum = first + second;
System.out.println("The sum is: " + sum);
}
}
.........
now obviously you can see the difference for yourself and can understand why python is a better and popular.
Now as it is so popular and also old too, this means there a lot of support for novice developers. it has large community of developers so If you ever run into a problem you can always search it up and some one would be there who would have solved it. search up your problem on google directly or on stackoverflow, youtube, python programming forums or discord servers, there is 100% guarantee you will find your answer.
Another reason for why python is better and why you should learn it is the variety of tasks you can do with it. there are tons of libraries available to be used in different fields of work. for game development in python you have pygame. for machine learning and data science you have scikit learn, tensorflow, pytorch etc. want to become a web developer? use flask or django for the backend of your site. also you can code hacking scripts in it. all-in-all theres huge and vast libraries support available which makes your task really easy and quick.
With current technological developments AI, machine learning and data science fields are vast open recruiting developers and as all of this is done in python so there is high demand for python developers with high income (incase if you were thinking what you'll get by learning python).
in conclusion, I would say that python worked for me. I learnt it and really found it to be easier than other languages. it was simpler, shorter, easier and readable and its syntax nearer to english. easy to debug, find solutions if stuck and clean code.
Comments
Post a Comment