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

Python in Unix
Python in Unix How to run command on unix Commands cannot be run directly on a unix server like we do in shell script. SYNTAX: system("Command") check_output("Command", shell=True) call("Command",...
R

Rishi B.

0 0
0

Be A Python Dev
Currently, in the programming world, Python is one of the languages with a high rising demand profile. And this article will explain why that isn’t slowing down in the foreseeable future.Python...

Decorator in Python - Simplified
By definition, a decorator is a function that takes another function andextends(/decorates) the behaviour of the latter function without explicitly modifying it.Let see how we can apply decorators for...

Python Concurrent v/s Parallel Programming
Concurrent means, more than one task happening at a time in interleaved fashion, (ie.,)Task 'A' starts, and Task 'B' starts before task 'A' finish, after processing its(A and B) own purpose both the task...

Decorators In Python
A decorator takes in a function, adds some functionality and returns it. Functions and methods are called callable as they can be called. Any object which implements the special method __call__() is...
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