Find the best tutors and institutes for C Language

Find Best C Language Classes

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

Why should I learn Python over C or C++?

Asked by Last Modified  

IT Courses/Programming Languages/C Language

Follow 14
Answer

10 Answers

Please enter your answer

Teachar

There are definite differences. C++ is a strongly typed language and Python is not. There's no need to declare variables. ... (I generally don't like languages to be dependent on any kind of formatting, but Python used indentation as a scope mechanism.)
Comments

Engineer

You should learn python over C or C++ because the job you are excited about wants you to use python. If you don t know what that job is, then learning how to be the best programmer possible is probably the next best idea. In that case it really depends on what kind of person are you. Python is better... read more
You should learn python over C or C++ because the job you are excited about wants you to use python. If you don’t know what that job is, then learning how to be the best programmer possible is probably the next best idea. In that case it really depends on what kind of person are you. Python is better for people who who learn by having immediate gratification and can wait to learn what is behind the magic. C or C++ is better for people who get frustrated by not knowing how things work. Eventually one should learn all three languages and many more. The order is not super important. Managed memory, easy-to-use standard library (just compare c string to python str) and binding for almost everything: all these lead to rapid development. Python also comes with class, making it easier to model things and organize code. read less
Comments

Tutor

Future is of python not c.. Cplus
Comments

its easy yet powerful
Comments

Tutor

Absolutely. Learn any programming language, to its depths, you'll be good.
Comments

Some differences between C++ and Python: Python uses Garbage Collection whereas C++ does not. C++ is a statically typed language, while Python is a dynamically typed language. Python is easier to use than C++. Python is run through an interpreter, whilst C++ is pre-compiled. Hence, C++ is faster... read more
Some differences between C++ and Python: Python uses Garbage Collection whereas C++ does not. C++ is a statically typed language, while Python is a dynamically typed language. Python is easier to use than C++. Python is run through an interpreter, whilst C++ is pre-compiled. Hence, C++ is faster than Python. C++ supports pointers and incredible memory management. Python supports very fast development and rapid, continuous language development. Python has less backwards compatibility. Majority of all applications are built from C++. Majority of all 3D applications offer Python access to their API's. Python code tends to be 5 to 10 times shorter than that written in C++. In Python, there is no need to declare types explicitly. Smaller code size in Python leads to leads to "rapid prototyping", which offers speed of development. Python requires an engine to run. Python is interpreted each time it runs. Python is hard to install on a Windows box and thus makes distribution of the program problematic. C++ is a pure binary that links to existing libraries to assist the coding. In Python, variables are in scope even outside the loops in which they are first instantiated. In Python, a function may accept an argument of any type, and return a value of any type, without any kind of declaration beforehand. Python provides flexibility in calling functions and returning values. Python looks cleaner, is object oriented, and still maintains a little strictness about types read less
Comments

Tutor

if u know about the c or C++ oops concept its easy to learn and However, the biggest difference between these languages is their runtime and how they are compiled. C and C++ are compiled to native executables. Python is interpreted at runtime and hence isn't compiled until runtime (although Python does... read more
if u know about the c or C++ oops concept its easy to learn and However, the biggest difference between these languages is their runtime and how they are compiled. C and C++ are compiled to native executables. Python is interpreted at runtime and hence isn't compiled until runtime (although Python does cache compiled copies in *.pyc files read less
Comments

Corporate Trainer

Advantages of any modern interpreted language over C++. Like any tradeoff, these are advantages in some situations and disadvantages in others. Situations where you don't want these conveniences are becoming more rare, though, as hardware gets even faster and high-level language implementations get... read more
Advantages of any modern interpreted language over C++. Like any tradeoff, these are advantages in some situations and disadvantages in others. Situations where you don't want these conveniences are becoming more rare, though, as hardware gets even faster and high-level language implementations get even more efficent. No compile step. Write your code in my_program.py, then run it with python my_program.py. No memory management. You don't have to explicitly allocate memory for new variables, and you don't have to explicitly free memory you're done with. The interpreter will allocate memory for you and free it when it's safe to do so. High-level native data types. Strings, tuples, lists, sets, dictionaries, file objects and more are built-in. As an example, {"x": "y"} defines a dictionary (hash table) with string "x" as a key and string "y" as its value. Specific advantages of Python: Especially clean, straightforward syntax. This is a major goal of the Python language. Programmers familiar with C and C++ will find the syntax familiar yet much simpler without all the braces and semicolons. Duck typing. If an object supports .quack, go ahead and call .quack on it without worrying about that object's specific type. Iterators, generators and comprehensions. To get the first character of every line in a file, you'd write: file = open("file.txt") list_of_first_characters = [line[0] for line in file] file.close() This iterates over the file only once. (These particular features are just the tip of the iceberg of simple built-in syntax for high-level language features. Check out decorators next if you're intrigued.) Huge standard library. Just to pick some random examples, Python ships with several XML parsers, csv & zip file readers & writers, libraries for using pretty much every internet protocol and data type, etc. Great support for building web apps. Along with Ruby and JavaScript, Python is very popular in the web development community. There are several mature frameworks and a supportive community to get you started. read less
Comments

Python is multipurpose high level language which is most demanding nowadays and it is significantly used as machine learning, data science fields. However, C/C++ are also important languages considering as most secured languages. So, you should go forwards both of these languages.
Comments

because python is the new trend and easier to learn. all IT industries are using python
Comments

View 8 more Answers

Related Questions

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Some Tricky Questions in C
Can you write two functions in which one executes before main function and other executes after the main function? #pragma startup #pragma exit Where, priority is optional integer value.For user priority...

Sahana D. | 16 Feb

0 0
0

Program to swap the value of two variables without using third variable(simplest way)...
int main() { int a=10,b=20; printf("values of a before swap ="%d,a); printf("values of b before swap ="%d,b); a=a+b; b=a-b; a=a-b; printf("******************"); printf("values of a after swap...

Rohan | 17/11/2018

2 0
1

Advantages of C++ Language
Advantages of C++ - C++ is a profoundly convenient dialect and is frequently the dialect of decision for multi-gadget, multi-stage application advancement. - C++ is a protest situated programming dialect...

Recommended Articles

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a significant" increase in demand for IT professionals in 2014 as compared to 2013, a steady demand for IT professionals is rest assured...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system s storage capacity and you can t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Applications engineering is a hot trend in the current IT market. An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company s manufacturing, marketing, sales, and customer...

Read full article >

Looking for C Language Classes?

Find best C Language Classes in your locality on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you

Find Best C Language Classes?

Find Now »

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 25 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 6.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more