Ace school

with brainly

  • Get help from millions of students
  • Learn from experts with step-by-step explanations
  • Level-up by helping others

A community for students.

why to choose python? i mean what are its advantages ?

Computer Science
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Join Brainly to access

this expert answer

SEE EXPERT ANSWER

To see the expert answer you'll need to create a free account at Brainly

Some advantages are: 1. It is relatively easy to learn 2. It is an interpreted language so you can make some quick code and run it without having to compile it first. 3. It has a wide range of libraries for it, like pylab (similar to matlab) only free, etc 4. It forces good programming habits like indentation because it is necessary and not optional. 5. Using lists and other structures is very easy as they have a lot of commands built in for you to use. 6. Code is generally short and thus quick to write because of the commands they give you to use. 7. Memory management is handle for you as well as other things. 8. Python is regularly use by some of the biggest companies like Google for rapid application development. It is not the only language they use but it is used because it is quick to develop with. Other languages like C, Java etc are also used and fused together when they are better choices for a certain task like speed of large computations and web interactivity. Some other languages do have some of these features as well and there are also some disadvantages to python with doing certain things. In general, most disadvantages can be overcome by using a library that was written in another language that is more suited for the task. Pretty much all programming languages can be used for any task but each has it's strengths and weaknesses. Any time I want a short program to do something and want to make it quickly with little fuss I use python.
IMO, one of Python's advantages for learning programming is that it has relatively low overhead. A simple program like "Hello World" is neatly coded as one or two lines. Java and other languages would be closer to 10 lines of code.
The thing is what do you want to learn from python? What are your goes for programming? Personally I find it funny when people say "Oh you can do this in 1 line of code whereas this other programming lang..." Well, no offense, but if your only goal is to code a few lines, this isn't the right major for you :p. For example Ruby on Rails can be done with little code, but alot of people who use it daily say that when you get to bigger programs the bugs and the overhead of the code is crazy.

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

Yes, if you are serious about programming it can make sense to learn python but likely not as your only language. Adding Java and/or C to your knowledge would also be good. This would be my top 3 recommended languages at this time even though I have not started on learning Java yet myself. I have been doing other online courses which mostly use python, a little ruby, ml, racket etc. and I learned C, basic, pascal, a litttle perl, javascript etc years ago.
Python is an easy programming code to learn. It is commonly used for new programmers, and even used by expert programmers.

Not the answer you are looking for?

Search for more explanations.

Ask your own question