• PYTHON EXERCISES

    Python exercises and practice questions are vital for learning the programming language effectively. They are not just a way to test your knowledge, but also a way to reinforce what you have learned and gain practical experience. By solving Python problems and practicing exercises, you are able to apply the concepts you have learned in a real-world context, which greatly enhances your understanding of the language.

    One of the main benefits of solving Python exercises is that it helps you build problem-solving skills. Programming is all about finding solutions to problems, so when you solve exercises, you develop the ability to divide the task in  smaller, more manageable parts. This skill is not only important in programming but also in various other aspects of life.
    Another benefit of solving Python exercises is that it helps you become more familiar with the language syntax and its various features. You will have to explore different aspects of Python and gain a deeper understanding of its capabilities. This familiarity with the language will make you more efficient and effective in writing code.
    Moreover, Python practice gives you the opportunity to practice and reinforce what you have learned. It is one thing to read about programming concepts, but it is another thing entirely to actually implement them in code. Exercises provide a hands-on experience that allows you to solidify your understanding of the material.

    Tips

    When students encounter difficult problems during their learning process, it can be discouraging. However, there are several tips that can help them confront these challenges and stay motivated. First, it is important to break down the problem into smaller parts and tackle them one at a time. By approaching the problem step by step, it becomes more manageable and less overwhelming.

    Additionally, it is helpful to seek out resources such as online forums or tutorials that can provide guidance and support. Often, other programmers have faced similar challenges and can offer insights or solutions that can help overcome the difficulty. Collaboration and seeking help from others is a valuable skill in programming.

    Lastly, it is crucial to stay motivated and not get discouraged by setbacks or failures. Programming is a process of trial and error, and it is normal to encounter obstacles along the way. Embrace these challenges as opportunities for growth and learning. Celebrate your successes, no matter how small they may be, and keep pushing forward.
    Here you will find a compilation of different sites with exercises and problems so you can practice Python at your own pace.

    Python Exercises for Beginners

    Snakify
    Views: 547
    50 exercises about Python basic concepts like input, print, integers, loops, conditions, strings, lists, functions.

    CodeClub
    Views: 273
    12 Python projects: Rock paper scissors game, encryption program to send secret messages, create own passwords, plot ISS, program to split players into 2 teams and so on.

    Edabit
    Views: 554
    • 100 Python problems: Find the last item in an array, even/odd number, word count, reverse string order, alphabet soup, repeating letters, factorial, sort numbers, phone number formatting, etc.
    W3Resource
    Views: 119
    • 400 Exercises: strings, lists, functions, loops, conditionals, date time, data structure, recursion, math,regex, numpy, pandas.
    • 12 Python exercises (PDF, to see all exercises change number in the browser bar): dictionaries exercises. Functions with loops on dictionaries, function to invert a dictionary.
    Zarkonnen
    Views: 89
    • 8 exercises of strings: sum of lengths of names, find the shortest name in text, convert a number to its string, sort names in text alphabetically, etc.
    • 15 Exercises: fill in the blanks (conditionals), find bugs in code, create and merge dictionaries, custom exceptions, count average length of words in a sentence, lists,  function to turn vowels in uppercase and consonants in lower case, create test case for a function and so on.
    Practice Python
    Views: 143
    • 36 exercises about list comprehensions, list remove duplicates, element search, write to a file, draw a game board, max of three, hangman, birthday plots, odd or even, functions, modules.
    PyNative
    Views: 58
    • 75 Exercises of data science: Assignments of Pandas, NumPy, data structure, Matplotlib, Database.
    Simpliv LLC
    Views: 52
    • 50 Interview questions: theory questions and exercises.
    PROGRAMIZ
    Views: 68
    • 50 Exercises: Find square root, generate random numbers, display multiplication table, find sum of natural numbers,  display calendar, add two matrices, find size of an image, etc.

    Python Exercises for Intermediates

    Practity
    Views: 210
    • Real-world Python Projects: Data cleaning, OOP, Python libraries, applications with GUI, automation exercises, data analysis, games, etc.
    Hackerrank
    Views: 133
    • 150 Exercises of Python core topics: strings, sets, maths, loops, collections, dates, exceptions, classes, regex, XML.
    • 40 Python practice questions focused on lists, functions, loops, modules, conditionals, linear algebra, statistics.
    CodeChef
    Views: 115
    • 200 Python Challenges & problems.
    • 15 Fun programming problems: program of treasure hunt, chess queen attack, program for secret messages, turn roman numbers into arabic, phone words program, calculation of bowling match scores, etc.
    CodeAbbey
    Views: 65
    • 50 Problems: rounding, sum of digits, average in array, modular calculator, double dice roll, mortgage calculator, star medals, lucky tickets, etc.
    • 40 Assignments + 2 projects + exam: Practice the Math module, quadratic formula, random function,  nims/stones games, lists, report card function, list comprehensions, structures, OOP, inheritance.
    • 150 exercises: databases, expressions and variables, loops, functions, graphics, list comprehension, OOP, Scientific Python.
    CoderByte
    Views: 67
    • 200 Exercises: letter capitalize, time convert, vowel square, longest word, coin determiner, stock picker, matrix chains, character removal, etc.
    • 10 Scientific Python exercises: maths, loops, functions, combine text and numbers, plot a function, numpy.
    Techbeamers
    Views: 29
    • 30 Interview questions.
    • 20 Code challenges: Email validator program, password reset program, quiz application, count words/vowels in a string, etc.
    • 22 Problems to perform calculations with Python: Compound interest code, time to fill swimming pool, calculator, area and circunference calculation, distance conversion, load data into dictionaries, triangle recognition, etc.
    GITHUB
    Views: 32
    • Data Science interview questions: Technical (SQL, Python) and theory (statistics, Machine Learning).

    Advanced Python Exercises

    • 5 Assignments, 10 labs: Data cleaning, web scrapping, Pandas, Matplotlib libraries, linear regression (SciKit learn), cross validation, map reduce, etc.
    Advent for code
    Views: 34
    30 Programming Puzzles & problem solving (storytelling). Frequency: 1 per calendar day.

    ~500 problems and exercises held at Russian Universities and trainning camps.

    GITHUB.
    Views: 39
    • 50 Examples of multiple topics: Web scrapping (Selenium), webapp with Flask, RESTful microservice, reddit bot, sentiment analysis, recommendation systems, linear regression, etc.
    • 50 statistics exercises (scipy): Probability, linear models, bayesian models, hypothesis testing, cross validation.
    • Programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems.
    Project Euler
    Views: 71
    • 800 coding math problems.
    • 200 exercises & interview questions: Maths, searching, classic algorithms, astronomy, prime numbers, fundamentals of computing, arithmetic, computational geometry, cryptography, data processing, games, graphs.
    • 8 Problems about decorators to cache function invocation results, generator functions, file browsing, plugin registration system and so on.
    CSStack
    Views: 24
    • Python interview questions: 64 interview questions from multiple companies.
    • Python challenges of  former editions.
    Labri
    Views: 26
    • 90 exercises focused on the Numpy library.

     

    QUICK SURVEY

    What is your current programming level?

    What exercises are you looking for?
    619 answers

    What type of projects are you interested in?
    615 answers

    What is your current employment status?

    How did you learn to code?

     

     

 

Loading

Python and Excel Projects for practice
Register New Account
Shopping cart