w3resource
Python Exercises

Python Exercises, Practice, Solution

What is Python language?

Python is a widely used high-level, general-purpose, interpreted, dynamic programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than possible in languages such as C++ or Java.

Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles. It features a dynamic type system and automatic memory management and has a large and comprehensive standard library

The best way we learn anything is by practice and exercise questions. We have started this section for those (beginner to intermediate) who are familiar with Python.

Hope, these exercises help you to improve your Python coding skills. Currently, following sections are available, we are working hard to add more exercises .... Happy Coding!

List of Python Exercises :

Python Challenges :

Python Mini Projects :

Python NumPy :

Python Pandas :

Python Exercises

Python BeautifulSoup :

Python Web Scraping :

Python Natural Language Toolkit :

Python Arrow Module :

Python GeoPy Package :

More...

Note :
Download Python from https://www.python.org/ftp/python/3.2/ and install in your system to execute the Python programs. You can read our Python Installation on Fedora Linux and Windows 7, if you are unfamiliar to Python installation.
You may accomplish the same task (solution of the exercises) in various ways, therefore the ways described here are not the only ways to do stuff. Rather, it would be great, if this helps you anyway to choose your own methods.

List of Exercises with Solutions :

Popularity of Programming Language
Worldwide, October 2019 compared to a year ago:

Rank Change Language Share Trend
1 Python 29.49 % +4.5 %
2 Java 19.57 % -2.4 %
3 Javascript 8.4 % +0.1 %
4 C# 7.35% -0.4 %
5 PHP 6.34 % -1.2 %
6 C/C++ 5.87 % -0.4 %
7 R 3.82 % -0.2 %
8 Objective-C 2.6% -0.7 %
9 Swift 2.57 % -0.1 %
10 Matlab 1.87 % -0.2 %
11 up arrow TypeScript 1.87 % +0.3 %
12 up arrow Kotlin 1.61 % +0.6 %
13 down arrow Ruby 1.47 % -0.1 %
14down arrow VBA 1.39 % -0.1 %
15 up arrow Go 1.25 % +0.3 %
16 down arrow Scala 1.15 % -0.1 %
17 down arrow Visual Basic 0.99 % -0.2 %
18up arrow Rust 0.64 % +0.3 %
19 down arrow Perl 0.57 % -0.1 %
20 down arrow Lua 0.37 % -0.0 %
21 Haskell 0.29 % -0.0 %
22 Julia 0.28 % +0.0 %
23 Delphi 0.25 % +0.0 %

Source : http://pypl.github.io/PYPL.html

TIOBE Index for October 2019

Oct 2019 Oct 2018 Change Programming Language Ratings Change
1 1 Java 16.884% -0.92%
2 2 C 16.180% +0.80%
3 4 up arrow Python 9.089% +1.93%
4 3 down arrow C++ 6.229% -1.36%
5 6 up arrow C# 3.860% +0.37%
6 5 down arrow Visual Basic .NET 3.745% -2.14%
7 8 up arrow JavaScript 2.076% -0.20%
8 9 up arrow SQL 1.935% -0.10%
9 7 down arrow PHP 1.909% -0.89%
10 15 up arrow Objective-C 1.501% +0.30%
11 28 up arrow Groovy 1.394% +0.96%
12 10 down arrow Swift 1.362% -0.14%
13 18 up arrow Ruby 1.318% +0.21%
14 13 down arrow Assembly language 1.307% +0.06%
15 14 down arrow R 1.261% +0.05%
16 20 up arrow Visual Basic 1.234% +0.58%
17 12 up arrow Go 1.100% -0.15%
18 17 down arrow Delphi/Object Pascal 1.046% -0.11%
19 16 down arrow Perl 1.023% -0.14%
20 11 down arrow MATLAB 0.924% -0.39%

Source : https://www.tiobe.com/tiobe-index/

[ Want to contribute to Python exercises? Send your code (attached with a .zip file) to us at w3resource[at]yahoo[dot]com. Please avoid copyrighted materials.]