UrbanPro
true

Learn Python Training from the Best Tutors

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

Search in

5 Reason to learn Python

Aatray Kumar Singh
16/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

  1. 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
  1. 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;

  1. 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)

  1. 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 Programming
Python is a widely used general-purpose, high-level programming language. This is an Open Source Software and its source code is available with a license in which the Copyright holder provides the rights...

map function in python
The function map takes a function and an iterable as arguments and returns a new iterable with the function applied to each argument. Example: def add_five(x): return x+5 nums = result = list(map(add_five,...

What is a generator?
A generator is a function that has one or more yield statements. Example: >>>def gen_demo(a): yield a a = a+10 yield a a = a+30 yield a >>>gen_a...

How to know if an object is iterable?
An object in python is said to be an iterable if it obeys one of the following two rules:- 1. Object must consist of __getitem__ method 2. Object must consist of __iter__ method. String objects generally...

DBMS - SQL - Any/All
All - Operator SELECT empno, sal FROM emp WHERE sal > ALL (1999, 2999, 3999); Output of Above query is same as below query SELECT empno, sal FROM emp WHERE sal > 1999 AND sal > 2999...

Radhe Shyam

0 0
0
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