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


Other Lessons for You

Back Reference In Python Regex
What if your interviewer asks about this? We know Regex have some useful functions like: match ( Ex: re.match(pattern,dataSource) ) search ( Ex: re.search(pattern,dataSource) ) sub ...

Learn Python : Formatting with the .format () method
A good way to format objects into your strings for print statements is with the string.format() method. The syntax is :'String here {} then also {}'.format('something1','something2')Example 1:print("This...

Biswanath Banerjee

0 1

Python Introduction
Python is an object-oriented programming language created by Rossum in 1989. It is ideally designed for rapid prototyping of complex applications. It has interfaces to many OS system calls and libraries...


0 0

A python program using the datetime module
Task : To write a program in Python to find out, in any given year, Friday the 13th dates i.e 13th day of a month which was a Friday. ...

What is M.S.Project ?
MICROSOFT PROJECT contains project work and project groups, schedules and finances.Microsoft Project permits its users to line realistic goals for project groups and customers by making schedules, distributing...

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

Book a Free Demo

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