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 Dictionary
Python dictionary is an unordered collection of items. While other compound datatypes have only value as an element, a dictionary has a key: value pair. Dictionaries are optimized to retrieve values when...

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

Getting started with Python IDLE
Now that we have looked at some example programs, we would like to learn how to begin the actual process of writing a program in Python. There are a variety of ways to tell Python to execute the code we...

Python is a popular programming language. It was created by Guidovan Rossum, and released in 1991.
Python is a popular programming language. It was created by Guidovan Rossum, and released in 1991. It is used for: web development (server-side), software development, mathematics, system scripting. What...

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,...
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