PYTHON EXERCISES
Compilation of Python exercises, challenges, projects, problems and assignments for practice:
1) SnakifyViews: 284- Beginner
- 50 exercises about Python basic concepts like input, print, integers, loops, conditions, strings, lists, functions.
2) CodeClubViews: 116- Beginner (kids)
- 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.
3) EdabitViews: 65- Beginner
- 100 Python: Python problems such as 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.
4) PractityViews: 111- Intermediate
- Real-world Python Projects: Data cleaning, OOP, Python libraries, applications with GUI, automation exercises, data analysis, games, etc.
5) University of HelsinkiViews: 110- Beginner
- 12 exercises (PDF, to see all exercises change number in the browser bar): dictionaries exercises. Functions with loops on dictionaries, function to invert a dictionary.
6) ZarkonnenViews: 34- Beginner
- 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.
7) GITHUB - Jerry Git (Jupyter Notebook)Views: 30- Beginner
- 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.
8) HackerrankViews: 62- Beginner – Intermediate
- 150 Exercises of Python core topics: strings, sets, maths, loops, collections, dates, exceptions, classes, regex, XML.
9) University of California (Physics)Views: 42- Beginner – Intermediate
- 40 exercises: Lists, functions, loops, modules, conditionals, linear algebra, statistics.
10) CodeChefViews: 49- Beginner – Easy – Intermediate – Advanced
- 200 Challenges & problems.
- Beginner -Intermediate
- 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.
13) CodeAbbeyViews: 28- Beginner – Intermediate
- 50 Problems: rounding, sum of digits, average in array, modular calculator, double dice roll, mortgage calculator, star medals, lucky tickets, etc.
- Beginner – Intermediate
- 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.
15) Programming for biologistsViews: 10- Beginner – Intermediate
- 150 exercises: databases, expressions and variables, loops, functions, graphics, list comprehension,OOP, Scientific Python.
16) Practice PythonViews: 50- Beginner – Intermediate
- 36 exercises: 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.
17) CoderByteViews: 27- Beginner – Intermediate
- 200 Exercises: letter capitalize, time convert, vowel square, longest word, coin determiner, stock picker, matrix chains, character removal, etc.
18) W3ResourceViews: 26- Beginner – Intermediate
- 400 Exercises: strings, lists, functions, loops, conditionals, date time, data structure, recursion, math,regex, numpy, pandas.
19) Norwegian Center of ExcellenceViews: 16- Beginner – Intermediate
- 10 Scientific Python exercises: maths, loops, functions, combine text and numbers, plot a function, numpy.
20) Simpliv LLCViews: 13- Beginner – Intermediate
- 50 Interview questions: theory questions and exercises.
21) TechbeamersViews: 12- Beginner – Intermediate – Advanced
- 30 Interview questions.
22) PROGRAMIZViews: 16- Beginner – Intermediate
- 50 Exercises: introduction, functions, data type, files.
- Find square root, generate random numbers, display multiplication table, find sum of natural numbers, convert decimal to binary, find factors of number, display calendar, add two matrices, find size of an image, count number of vowels, merge mails, etc.
23) PyNativeViews: 17- Beginner
- 75 Exercises of data science: Assignments of Pandas, NumPy, data structure, Matplotlib, Database.
24) Oxford Cambridge and RSAViews: 15- Intermediate
- 20 Code challenges: Email validator program, password reset program, quiz application, count words/vowels in a string, shopping list tracker program, etc.
- Intermediate
- 22 Problems to perform calculations with Python: Compound interest code, lower to upper case program, time to fill swimming pool, calculator, area and circunference calculation, distance conversion, load data into dictionaries, triangle recognition, etc.
26) GITHUBViews: 8- Intermediate
- Data Science interview questions: Technical (SQL, Python) and theory (statistics, Machine Learning).
- Intermediate – Advanced
- 5 Assignments, 10 labs: Data cleaning, web scrapping, Pandas, Matplotlib libraries, linear regression (SciKit learn), cross validation, map reduce, etc.
28) Advent for codeViews: 15- Intermediate – Advanced
- 30 Programming Puzzles & problem solving (storytelling). Frequency: 1 per calendar day.
- Intermediate – Advanced
- ~500 problems and exercises held at Russian Universities and trainning camps.
READMEViews: 7- Intermediate – Advanced
- 50 Examples: Web scrapping (Selenium), build a miroblog&webapp with Flask, buid a RESTful microservice, build a reddit bot, sentiment analysis, recommendation systems, linear regression, classification problem, deep learning.
- Intermediate – Advanced
- 50 statistics exercises (scipy): Probability, linear models, bayesian models, hypothesis testing, cross validation.
32) Advent for code 2021Views: 9- Intermediate – Advanced
- 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.
33) Project EulerViews: 13- Advanced
- 800 Exercises: Coding math problems.
34) Programming PraxisViews: 13- Advanced
- 200 exercises & interview questions: Maths, searching, classic algorithms, astronomy, prime numbers, fundamentals of computing, arithmetic, computational geometry, cryptography, data processing, games, graphs.
- Advanced
- 8 Problems: Write a decorator to cache function invocation results, generator functions, write a file browser, plugin registration system and so on.
36) CSStackViews: 9- Advanced
- Python interview questions: 64 interview questions from multiple companies.
- Advanced
- Python challenges of former editions.
38) LabriViews: 9- Intermediate
- 90 exercises focused on the Numpy library.
QUICK SURVEY
- Fun DataSets for Python PracticeViews: 316Public datasets for data science practiceViews: 316Biggest datasets for machine learningViews: 76110M images of celebrities (Microsoft)Views: 125