UrbanPro
true

Learn Python Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Python- 5 reasons to learn python

Divya S.
12/01/2017 0 0

1. Dynamically Typed

  • You don’t have to declare a type when declaring a variable.
  • It skips headaches of type casting

          JAVA:-       int x = 1;

                          x = (int) x/2;                            x now equals 0

                                                                        x can never be 0.5

          Python:-   x = 1

                        x = x/2                                       x now equal 0.5

2. Simple Syntax

  • Some programming languages will kill you with parentheses, brackets, braces, commas and colons.
  • With python you spend less time debugging syntax and more time programming

3. One liners

  • Elegant 1 line solutions to what takes a whole block of code in other languages.
  • Example- exchange value of x and y

         JAVA:-      int temp = x;                        Python:-    x,y = y,x 

                        x = y;

                        y = temp;

4. English-like Commands

  • Python code is so much more readable than c, c++ and java code.
  • Because python is design to be like english-like language
  • Example- printing a name

         JAVA:-      string name = "Bob";                 Python:-   name = "bob"

                        system.out.println(name);                          print(name)

5. Intuitive data structures

  • Lists, tuples, sets, dictionaries.
  • Powerful, yet simple and intuitive to use.
  • Flexible (mixed data types).

 

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Visualize your python code
Hi All, Many developers in the beginning of their career want to visualize how their code is working and the program flow. You can use the following link to visualize your python code. http://www.pythontutor.com/visualize.html#mode=edit ...

Decorator Introduction
A decorator takes in a function, adds some functionality and returns it. Functions can be passed as arguments to another function like map, filter and reduce Function that take other functions as arguments...

Machine Learning With Python
1. Course description: Machine Learning with Python has been designed for the provision of having strong hold in creating Machine learning algorithms with the base of Python. This has been preferred as...
J

Writing Simple programs in Python(cont.)
To start writing simple programs in Python, we have to know firstly the SW development process and then we also have to know a bit about the language in which we wish to code,in this case,python, to get...

Python Overview
Python is a high-level, interpreted, interactive and object-oriented scripting language. Python was developed by Gudo vanRossum in the late eighties and early nineties at the National Research Institute...
X

Looking for Python Training Classes?

The best tutors for Python Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Python Training with the Best Tutors

The best Tutors for Python Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 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 7.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