[social_warfare]
  • 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

    [download url=”https://snakify.org/en/lessons/print_input_numbers/problems/” title=”Snakify”] 50 exercises about Python basic concepts like input, print, integers, loops, conditions, strings, lists, functions.

    [download url=”https://codeclubprojects.org/en-GB/python/” title=”CodeClub”] 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.

    [download url=”https://edabit.com/explore” title=”Edabit”]
    • 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.
    [download url=”https://www.w3resource.com/python-exercises/date-time-exercise/” title=”W3Resource”]
    • 400 Exercises: strings, lists, functions, loops, conditionals, date time, data structure, recursion, math,regex, numpy, pandas.
    [download url=”http://wasabiapp.org/python_course/exercises_4.pdf” title=”University of Helsinki”]
    • 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.
    [download url=”http://www.zarkonnen.com/python_exercises” title=”Zarkonnen”]
    • 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.
    [download url=”https://github.com/jerry-git/learn-python3/tree/master/notebooks/beginner/exercises” title=” GITHUB – Jerry Git (Jupyter Notebook)”]
    • 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.
    [download url=”http://www.practicepython.org/exercises/” title=”Practice Python”]
    • 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.
    [download url=”https://pynative.com/python-exercises-with-solutions/” title=”PyNative”]
    • 75 Exercises of data science: Assignments of Pandas, NumPy, data structure, Matplotlib, Database.
    [download url=”https://simpliv.wordpress.com/2018/05/02/basic-python-interview-questions-and-answers/” title=”Simpliv LLC”]
    • 50 Interview questions: theory questions and exercises.
    [download url=”https://www.programiz.com/python-programming/examples” title=”PROGRAMIZ”]
    • 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

    [download url=”https://www.practity.com/python” title=”Practity”]
    • Real-world Python Projects: Data cleaning, OOP, Python libraries, applications with GUI, automation exercises, data analysis, games, etc.
    [download url=”https://www.hackerrank.com/domains/python/py-introduction” title=”Hackerrank”]
    • 150 Exercises of Python core topics: strings, sets, maths, loops, collections, dates, exceptions, classes, regex, XML.
    [download url=”http://csc.ucdavis.edu/~chaos/courses/clab/Software/PythonProgramming.html” title=”University of California (Physics)”]
    • 40 Python practice questions focused on lists, functions, loops, modules, conditionals, linear algebra, statistics.
    [download url=”https://www.codechef.com/problems/school” title=”CodeChef”]
    • 200 Python Challenges & problems.
    [download url=”http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html#easy” title=”California Polytechnic State University San Luis Obispo”]
    • 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.
    [download url=”http://www.codeabbey.com/index/task_list” title=”CodeAbbey”]
    • 50 Problems: rounding, sum of digits, average in array, modular calculator, double dice roll, mortgage calculator, star medals, lucky tickets, etc.
    [download url=”https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-189-a-gentle-introduction-to-programming-using-python-january-iap-2011/assignments/” title=”Massachusets Institute of Technology (MIT)”]
    • 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.
    [download url=”http://www.programmingforbiologists.org/exercises/” title=”Programming for biologists”]
    • 150 exercises: databases, expressions and variables, loops, functions, graphics, list comprehension, OOP, Scientific Python.
    [download url=”https://coderbyte.com/challenges” title=”CoderByte”]
    • 200 Exercises: letter capitalize, time convert, vowel square, longest word, coin determiner, stock picker, matrix chains, character removal, etc.
    [download url=”http://hplgit.github.io/bumpy/doc/pub/sphinx-basics/._basics005.html” title=”Norwegian Center of Excellence”]
    • 10 Scientific Python exercises: maths, loops, functions, combine text and numbers, plot a function, numpy.
    [download url=”https://www.techbeamers.com/python-interview-questions-programmers/” title=”Techbeamers”]
    • 30 Interview questions.
    [download url=”http://www.ocr.org.uk/Images/202838-20-code-challenges.pdf” title=”Oxford Cambridge and RSA”]
    • 20 Code challenges: Email validator program, password reset program, quiz application, count words/vowels in a string, etc.
    [download url=”https://cgi.csc.liv.ac.uk/~frans/CPD/PythonCPD/PythonExampleProblems/index.html” title=”Liverpool University, Computer Science”]
    • 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.
    [download url=”https://github.com/alexeygrigorev/data-science-interviews” title=”GITHUB”]
    • Data Science interview questions: Technical (SQL, Python) and theory (statistics, Machine Learning).

    Advanced Python Exercises

    [download url=”https://github.com/cs109/content” title=”Harvard University. Course of Data Science CS109″]
    • 5 Assignments, 10 labs: Data cleaning, web scrapping, Pandas, Matplotlib libraries, linear regression (SciKit learn), cross validation, map reduce, etc.
    [download url=”https://adventofcode.com/” title=”Advent for code”] 30 Programming Puzzles & problem solving (storytelling). Frequency: 1 per calendar day.

    [download url=”http://acm.timus.ru/problemset.aspx” title=”Timus Online Judge (largest Russian archive of programming problems)”] ~500 problems and exercises held at Russian Universities and trainning camps.

    [download url=”https://github.com/tuvtran/project-based-learning/blob/master/README.md#python” title=GITHUB. TVTRAN (Data Science”]
    • 50 Examples of multiple topics: Web scrapping (Selenium), webapp with Flask, RESTful microservice, reddit bot, sentiment analysis, recommendation systems, linear regression, etc.
    [download url=”https://github.com/mfouesneau/mvcomp2″ title=”Computational Statistics and Data Analysis, University of Heidelberg”]
    • 50 statistics exercises (scipy): Probability, linear models, bayesian models, hypothesis testing, cross validation.
    [download url=”https://adventofcode.com/2021/” title=”Advent for code 2021″]
    • 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.
    [download url=”https://projecteuler.net/index.php?section=problems” title=”Project Euler”]
    • 800 coding math problems.
    [download url=”https://programmingpraxis.com/contents/themes/” title=”Programming Praxis”]
    • 200 exercises & interview questions: Maths, searching, classic algorithms, astronomy, prime numbers, fundamentals of computing, arithmetic, computational geometry, cryptography, data processing, games, graphs.
    [download url=”https://python.g-node.org/python-summerschool-2011/_media/materials/advanced_python/exercises_and_solutions.pdf” title=”German Neuroinformatics Node (PDF)”]
    • 8 Problems about decorators to cache function invocation results, generator functions, file browsing, plugin registration system and so on.
    [download url=”https://www.csestack.org/python-interview-questions-answers/” title=”CSStack”]
    • Python interview questions: 64 interview questions from multiple companies.
    [download url=”https://icpc.global/worldfinals/problems” title=”ICPC – International Collegiate Programming Constest”]
    • Python challenges of  former editions.
    [download url=”https://www.labri.fr/perso/nrougier/teaching/numpy.100/index.html” title=”Labri”]
    • 90 exercises focused on the Numpy library.

     

    QUICK SURVEY

     

     

  • [download url=”[download url=”https://github.com/awesomedata/awesome-public-datasets#finance” title=”Fun DataSets for Python Practice”] [download url=”https://github.com/awesomedata/awesome-public-datasets#finance” title=”Public datasets for data science practice”] [download url=”https://www.datasetlist.com/” title=”Biggest datasets for machine learning”] [download url=”http://astrostatistics.psu.edu/datasets/index.html” title=”Astronomical datasets for statistical analysis”] [download url=”https://www.msceleb.org/celeb1m/dataset” title=”10M images of celebrities (Microsoft)”]

 

Loading

Python and Excel Projects for Practice
Register New Account
Shopping cart