python homework tasks

Practice Python

follow us in feedly

Beginner Python exercises

  • Why Practice Python?
  • Why Chilis?
  • Resources for learners

All Exercises

python homework tasks

All Solutions

  • 1: Character Input Solutions
  • 2: Odd Or Even Solutions
  • 3: List Less Than Ten Solutions
  • 4: Divisors Solutions
  • 5: List Overlap Solutions
  • 6: String Lists Solutions
  • 7: List Comprehensions Solutions
  • 8: Rock Paper Scissors Solutions
  • 9: Guessing Game One Solutions
  • 10: List Overlap Comprehensions Solutions
  • 11: Check Primality Functions Solutions
  • 12: List Ends Solutions
  • 13: Fibonacci Solutions
  • 14: List Remove Duplicates Solutions
  • 15: Reverse Word Order Solutions
  • 16: Password Generator Solutions
  • 17: Decode A Web Page Solutions
  • 18: Cows And Bulls Solutions
  • 19: Decode A Web Page Two Solutions
  • 20: Element Search Solutions
  • 21: Write To A File Solutions
  • 22: Read From File Solutions
  • 23: File Overlap Solutions
  • 24: Draw A Game Board Solutions
  • 25: Guessing Game Two Solutions
  • 26: Check Tic Tac Toe Solutions
  • 27: Tic Tac Toe Draw Solutions
  • 28: Max Of Three Solutions
  • 29: Tic Tac Toe Game Solutions
  • 30: Pick Word Solutions
  • 31: Guess Letters Solutions
  • 32: Hangman Solutions
  • 33: Birthday Dictionaries Solutions
  • 34: Birthday Json Solutions
  • 35: Birthday Months Solutions
  • 36: Birthday Plots Solutions
  • 37: Functions Refactor Solution
  • 38: f Strings Solution
  • 39: Character Input Datetime Solution
  • 40: Error Checking Solution

Top online courses in Programming Languages

10 Python Practice Exercises for Beginners with Solutions

Author's photo

  • python basics
  • get started with python
  • online practice

A great way to improve quickly at programming with Python is to practice with a wide range of exercises and programming challenges. In this article, we give you 10 Python practice exercises to boost your skills.

Practice exercises are a great way to learn Python. Well-designed exercises expose you to new concepts, such as writing different types of loops, working with different data structures like lists, arrays, and tuples, and reading in different file types. Good exercises should be at a level that is approachable for beginners but also hard enough to challenge you, pushing your knowledge and skills to the next level.

If you’re new to Python and looking for a structured way to improve your programming, consider taking the Python Basics Practice course. It includes 17 interactive exercises designed to improve all aspects of your programming and get you into good programming habits early. Read about the course in the March 2023 episode of our series Python Course of the Month .

Take the course Python Practice: Word Games , and you gain experience working with string functions and text files through its 27 interactive exercises.  Its release announcement gives you more information and a feel for how it works.

Each course has enough material to keep you busy for about 10 hours. To give you a little taste of what these courses teach you, we have selected 10 Python practice exercises straight from these courses. We’ll give you the exercises and solutions with detailed explanations about how they work.

To get the most out of this article, have a go at solving the problems before reading the solutions. Some of these practice exercises have a few possible solutions, so also try to come up with an alternative solution after you’ve gone through each exercise.

Let’s get started!

Exercise 1: User Input and Conditional Statements

Write a program that asks the user for a number then prints the following sentence that number of times: ‘I am back to check on my skills!’ If the number is greater than 10, print this sentence instead: ‘Python conditions and loops are a piece of cake.’ Assume you can only pass positive integers.

Here, we start by using the built-in function input() , which accepts user input from the keyboard. The first argument is the prompt displayed on the screen; the input is converted into an integer with int() and saved as the variable number. If the variable number is greater than 10, the first message is printed once on the screen. If not, the second message is printed in a loop number times.

Exercise 2: Lowercase and Uppercase Characters

Below is a string, text . It contains a long string of characters. Your task is to iterate over the characters of the string, count uppercase letters and lowercase letters, and print the result:

We start this one by initializing the two counters for uppercase and lowercase characters. Then, we loop through every letter in text and check if it is lowercase. If so, we increment the lowercase counter by one. If not, we check if it is uppercase and if so, we increment the uppercase counter by one. Finally, we print the results in the required format.

Exercise 3: Building Triangles

Create a function named is_triangle_possible() that accepts three positive numbers. It should return True if it is possible to create a triangle from line segments of given lengths and False otherwise. With 3 numbers, it is sometimes, but not always, possible to create a triangle: You cannot create a triangle from a = 13, b = 2, and c = 3, but you can from a = 13, b = 9, and c = 10.

The key to solving this problem is to determine when three lines make a triangle regardless of the type of triangle. It may be helpful to start drawing triangles before you start coding anything.

Python Practice Exercises for Beginners

Notice that the sum of any two sides must be larger than the third side to form a triangle. That means we need a + b > c, c + b > a, and a + c > b. All three conditions must be met to form a triangle; hence we need the and condition in the solution. Once you have this insight, the solution is easy!

Exercise 4: Call a Function From Another Function

Create two functions: print_five_times() and speak() . The function print_five_times() should accept one parameter (called sentence) and print it five times. The function speak(sentence, repeat) should have two parameters: sentence (a string of letters), and repeat (a Boolean with a default value set to False ). If the repeat parameter is set to False , the function should just print a sentence once. If the repeat parameter is set to True, the function should call the print_five_times() function.

This is a good example of calling a function in another function. It is something you’ll do often in your programming career. It is also a nice demonstration of how to use a Boolean flag to control the flow of your program.

If the repeat parameter is True, the print_five_times() function is called, which prints the sentence parameter 5 times in a loop. Otherwise, the sentence parameter is just printed once. Note that in Python, writing if repeat is equivalent to if repeat == True .

Exercise 5: Looping and Conditional Statements

Write a function called find_greater_than() that takes two parameters: a list of numbers and an integer threshold. The function should create a new list containing all numbers in the input list greater than the given threshold. The order of numbers in the result list should be the same as in the input list. For example:

Here, we start by defining an empty list to store our results. Then, we loop through all elements in the input list and test if the element is greater than the threshold. If so, we append the element to the new list.

Notice that we do not explicitly need an else and pass to do nothing when integer is not greater than threshold . You may include this if you like.

Exercise 6: Nested Loops and Conditional Statements

Write a function called find_censored_words() that accepts a list of strings and a list of special characters as its arguments, and prints all censored words from it one by one in separate lines. A word is considered censored if it has at least one character from the special_chars list. Use the word_list variable to test your function. We've prepared the two lists for you:

This is another nice example of looping through a list and testing a condition. We start by looping through every word in word_list . Then, we loop through every character in the current word and check if the current character is in the special_chars list.

This time, however, we have a break statement. This exits the inner loop as soon as we detect one special character since it does not matter if we have one or several special characters in the word.

Exercise 7: Lists and Tuples

Create a function find_short_long_word(words_list) . The function should return a tuple of the shortest word in the list and the longest word in the list (in that order). If there are multiple words that qualify as the shortest word, return the first shortest word in the list. And if there are multiple words that qualify as the longest word, return the last longest word in the list. For example, for the following list:

the function should return

Assume the input list is non-empty.

The key to this problem is to start with a “guess” for the shortest and longest words. We do this by creating variables shortest_word and longest_word and setting both to be the first word in the input list.

We loop through the words in the input list and check if the current word is shorter than our initial “guess.” If so, we update the shortest_word variable. If not, we check to see if it is longer than or equal to our initial “guess” for the longest word, and if so, we update the longest_word variable. Having the >= condition ensures the longest word is the last longest word. Finally, we return the shortest and longest words in a tuple.

Exercise 8: Dictionaries

As you see, we've prepared the test_results variable for you. Your task is to iterate over the values of the dictionary and print all names of people who received less than 45 points.

Here, we have an example of how to iterate through a dictionary. Dictionaries are useful data structures that allow you to create a key (the names of the students) and attach a value to it (their test results). Dictionaries have the dictionary.items() method, which returns an object with each key:value pair in a tuple.

The solution shows how to loop through this object and assign a key and a value to two variables. Then, we test whether the value variable is greater than 45. If so, we print the key variable.

Exercise 9: More Dictionaries

Write a function called consonant_vowels_count(frequencies_dictionary, vowels) that takes a dictionary and a list of vowels as arguments. The keys of the dictionary are letters and the values are their frequencies. The function should print the total number of consonants and the total number of vowels in the following format:

For example, for input:

the output should be:

Working with dictionaries is an important skill. So, here’s another exercise that requires you to iterate through dictionary items.

We start by defining a list of vowels. Next, we need to define two counters, one for vowels and one for consonants, both set to zero. Then, we iterate through the input dictionary items and test whether the key is in the vowels list. If so, we increase the vowels counter by one, if not, we increase the consonants counter by one. Finally, we print out the results in the required format.

Exercise 10: String Encryption

Implement the Caesar cipher . This is a simple encryption technique that substitutes every letter in a word with another letter from some fixed number of positions down the alphabet.

For example, consider the string 'word' . If we shift every letter down one position in the alphabet, we have 'xpse' . Shifting by 2 positions gives the string 'yqtf' . Start by defining a string with every letter in the alphabet:

Name your function cipher(word, shift) , which accepts a string to encrypt, and an integer number of positions in the alphabet by which to shift every letter.

This exercise is taken from the Word Games course. We have our string containing all lowercase letters, from which we create a shifted alphabet using a clever little string-slicing technique. Next, we create an empty string to store our encrypted word. Then, we loop through every letter in the word and find its index, or position, in the alphabet. Using this index, we get the corresponding shifted letter from the shifted alphabet string. This letter is added to the end of the new_word string.

This is just one approach to solving this problem, and it only works for lowercase words. Try inputting a word with an uppercase letter; you’ll get a ValueError . When you take the Word Games course, you slowly work up to a better solution step-by-step. This better solution takes advantage of two built-in functions chr() and ord() to make it simpler and more robust. The course contains three similar games, with each game comprising several practice exercises to build up your knowledge.

Do You Want More Python Practice Exercises?

We have given you a taste of the Python practice exercises available in two of our courses, Python Basics Practice and Python Practice: Word Games . These courses are designed to develop skills important to a successful Python programmer, and the exercises above were taken directly from the courses. Sign up for our platform (it’s free!) to find more exercises like these.

We’ve discussed Different Ways to Practice Python in the past, and doing interactive exercises is just one way. Our other tips include reading books, watching videos, and taking on projects. For tips on good books for Python, check out “ The 5 Best Python Books for Beginners .” It’s important to get the basics down first and make sure your practice exercises are fun, as we discuss in “ What’s the Best Way to Practice Python? ” If you keep up with your practice exercises, you’ll become a Python master in no time!

You may also like

python homework tasks

How Do You Write a SELECT Statement in SQL?

python homework tasks

What Is a Foreign Key in SQL?

python homework tasks

Enumerate and Explain All the Basic Elements of an SQL Query

Python Tutorial

File handling, python modules, python numpy, python pandas, python matplotlib, python scipy, machine learning, python mysql, python mongodb, python reference, module reference, python how to, python examples, python exercises.

You can test your Python skills with W3Schools' Exercises.

We have gathered a variety of Python exercises (with answers) for each Python Chapter.

Try to solve an exercise by filling in the missing parts of a code. If you're stuck, hit the "Show Answer" button to see what you've done wrong.

Count Your Score

You will get 1 point for each correct answer. Your score and total score will always be displayed.

Start Python Exercises

Start Python Exercises ❯

If you don't know Python, we suggest that you read our Python Tutorial from scratch.

Kickstart your career

Get certified by completing the course

Get Certified

COLOR PICKER

colorpicker

Report Error

If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:

[email protected]

Top Tutorials

Top references, top examples, get certified.

Holy Python

HolyPython.com

Beginner Python Exercises

Here are some enjoyable Python Exercises for you to solve! We strive to offer a huge selection of Python Exercises so you can internalize the Python Concepts through these exercises. 

Among these Python Exercises you can find the most basic Python Concepts about Python Syntax and built-in functions and methods .

python homework tasks

Holy Python is reader-supported. When you buy through links on our site, we may earn an affiliate commission.

Choose the topics you'd like to practice from our extensive exercise list.

Python Beginner Exercises consist of some 125+ exercises that can be solved by beginner coders and newcomers to the Python world.

Majority of these exercises are online and interactive which offers an easier and convenient entry point for beginners.

First batch of the exercises starts with print function as a warm up but quickly, it becomes all about data. 

You can start exercising with making variable assignments and move on with the most fundamental data types in Python:

Exercise 1: print() function    |   (3) : Get your feet wet and have some fun with the universal first step of programming.

Exercise 2: Variables    |   (2) : Practice assigning data to variables with these Python exercises.

Exercise 3: Data Types    |   (4) : Integer (int), string (str) and float are the most basic and fundamental building blocks of data in Python.

Exercise 4: Type Conversion    |   (8) : Practice converting between basic data types of Python when applicable.

Exercise 5: Data Structures    |   (6) : Next stop is exercises of most commonly used Python Data Structures. Namely;

  • Dictionaries and
  • Strings are placed under the microscope.

Exercise 6: Lists    |   (14) : It’s hard to overdo Python list exercises. They are fun and very fundamental so we prepared lots of them. You will also have the opportunity to practice various Python list methods.

Exercise 7: Tuples    |   (8) : Python Tuples Exercises with basic applications as well as common tuples methods

Exercise 8: Dictionaries    |   (11) : Practice with Python Dictionaries and some common dictionary methods.

Exercise 9: Strings    |   (14) : Basic string operations as well as many string methods can be practiced through 10+ Python String Exercises we have prepared for you.

Next batch consist of some builtin Python functions and Python methods. The difference between function and method in Python is that functions are more like standalone blocks of codes that take arguments while methods apply directly on a class of objects.

That’s why we can talk about list methods, string methods, dictionary methods in Python but functions can be used alone as long as appropriate arguments are passed in them.

Exercise 10: len() function     |   (5) : Python’s len function tells the length of an object. It’s definitely a must know and very useful in endless scenarios. Whether it’s manipulating strings or counting elements in a list, len function is constantly used in computer programming.

Exercise 11: .sort() method     |   (7) : Practice sort method in Beginner Python Exercises and later on you’ll have the opportunity practice sorted function in Intermediate Python Exercises.

Exercise 12: .pop() method     |   (3) : A list method pop can be applied to Python list objects. It’s pretty straightforward but actually easy to confuse. These exercises will help you understand pop method better.

Exercise 13: input() function     |   (6) : Input function is a fun and useful Python function that can be used to acquire input values from the user.

Exercise 14: range() function     |   (5) : You might want to take a real close look at range function because it can be very useful in numerous scenarios.

These range exercises offer an opportunity to get a good practice and become proficient with the usage of Python’s range function.

Exercise 15: Error Handling    |   (7) : Error Handling is a must know coding skill and Python has some very explanatory Error Codes that will make a coder’s life easier if he/she knows them!

Exercise 16: Defining Functions    |   (9) : Practicing user defined Python functions will take your programming skills to the next step. Writing functions are super useful and fun. It makes code reusable too.

Exercise 17: Python Slicing Notation     |   (8) : Python’s slicing notations are very interesting but can be confusing for beginner coders. These exercises will help you master them.

Exercise 18: Python Operators    |   (6) : Operators are another fundamental concept. We have prepared multiple exercises so they can be confident in using Python Operators.

If you struggle with any of the exercises, you can always refer to the Beginner Python Lessons .

If you’d like to challenge yourself with the next level of Python exercises check out the Intermediate Python Exercises we have prepared for you.

FREE ONLINE PYTHON COURSES

Choose from over 100+ free online Python courses.

Python Lessons

Beginner lessons.

Simple builtin Python functions and fundamental concepts.

Intermediate Lessons

More builtin Python functions and slightly heavier fundamental coding concepts.

Advanced Lessons

Python concepts that let you apply coding in the real world generally implementing multiple methods.

Python Exercises

Beginner exercises.

Basic Python exercises that are simple and straightforward.

Intermediate Exercises

Slightly more complex Python exercises and more Python functions to practice.

Advanced Exercises

Project-like Python exercises to connect the dots and prepare for real world tasks.

Thank you for checking out our Python programming content. All of the Python lessons and exercises we provide are free of charge. Also, majority of the Python exercises have an online and interactive interface which can be helpful in the early stages of learning computer programming.

However, we do recommend you to have a local Python setup on your computer as soon as possible. Anaconda is a free distribution and it comes as a complete package with lots of libraries and useful software (such as Spyder IDE and Jupyter Notebook) You can check out this: simple Anaconda installation tutorial .

Say "Hello, World!" With Python Easy Max Score: 5 Success Rate: 96.26%

Python if-else easy python (basic) max score: 10 success rate: 89.73%, arithmetic operators easy python (basic) max score: 10 success rate: 97.42%, python: division easy python (basic) max score: 10 success rate: 98.68%, loops easy python (basic) max score: 10 success rate: 98.11%, write a function medium python (basic) max score: 10 success rate: 90.31%, print function easy python (basic) max score: 20 success rate: 97.26%, list comprehensions easy python (basic) max score: 10 success rate: 97.69%, find the runner-up score easy python (basic) max score: 10 success rate: 94.15%, nested lists easy python (basic) max score: 10 success rate: 91.65%, cookie support is required to access hackerrank.

Seems like cookies are disabled on this browser, please enable them to open this website

Browse Course Material

Course info.

  • Sarina Canelake

Departments

  • Electrical Engineering and Computer Science

As Taught In

  • Programming Languages
  • Software Design and Engineering

Learning Resource Types

A gentle introduction to programming using python, assignments.

If you are working on your own machine, you will probably need to install Python. We will be using the standard Python software, available here . You should download and install version 2.6.x, not 2.7.x or 3.x. All MIT Course 6 classes currently use a version of Python 2.6.

facebook

You are leaving MIT OpenCourseWare

Pythonista Planet Logo

35 Python Programming Exercises and Solutions

To understand a programming language deeply, you need to practice what you’ve learned. If you’ve completed learning the syntax of Python programming language, it is the right time to do some practice programs.

In this article, I’ll list down some problems that I’ve done and the answer code for each exercise. Analyze each problem and try to solve it by yourself. If you have any doubts, you can check the code that I’ve provided below. I’ve also attached the corresponding outputs.

1. Python program to check whether the given number is even or not.

2. python program to convert the temperature in degree centigrade to fahrenheit, 3. python program to find the area of a triangle whose sides are given, 4. python program to find out the average of a set of integers, 5. python program to find the product of a set of real numbers, 6. python program to find the circumference and area of a circle with a given radius, 7. python program to check whether the given integer is a multiple of 5, 8. python program to check whether the given integer is a multiple of both 5 and 7, 9. python program to find the average of 10 numbers using while loop, 10. python program to display the given integer in a reverse manner, 11. python program to find the geometric mean of n numbers, 12. python program to find the sum of the digits of an integer using a while loop, 13. python program to display all the multiples of 3 within the range 10 to 50, 14. python program to display all integers within the range 100-200 whose sum of digits is an even number, 15. python program to check whether the given integer is a prime number or not, 16. python program to generate the prime numbers from 1 to n, 17. python program to find the roots of a quadratic equation, 18. python program to print the numbers from a given number n till 0 using recursion, 19. python program to find the factorial of a number using recursion, 20. python program to display the sum of n numbers using a list, 21. python program to implement linear search, 22. python program to implement binary search, 23. python program to find the odd numbers in an array, 24. python program to find the largest number in a list without using built-in functions, 25. python program to insert a number to any position in a list, 26. python program to delete an element from a list by index, 27. python program to check whether a string is palindrome or not, 28. python program to implement matrix addition, 29. python program to implement matrix multiplication, 30. python program to check leap year, 31. python program to find the nth term in a fibonacci series using recursion, 32. python program to print fibonacci series using iteration, 33. python program to print all the items in a dictionary, 34. python program to implement a calculator to do basic operations, 35. python program to draw a circle of squares using turtle.

python homework tasks

For practicing more such exercises, I suggest you go to  hackerrank.com  and sign up. You’ll be able to practice Python there very effectively.

Once you become comfortable solving coding challenges, it’s time to move on and build something cool with your skills. If you know Python but haven’t built an app before, I suggest you check out my  Create Desktop Apps Using Python & Tkinter  course. This interactive course will walk you through from scratch to building clickable apps and games using Python.

I hope these exercises were helpful to you. If you have any doubts, feel free to let me know in the comments.

Happy coding.

I'm the face behind Pythonista Planet. I learned my first programming language back in 2015. Ever since then, I've been learning programming and immersing myself in technology. On this site, I share everything that I've learned about computer programming.

11 thoughts on “ 35 Python Programming Exercises and Solutions ”

I don’t mean to nitpick and I don’t want this published but you might want to check code for #16. 4 is not a prime number.

Thanks man for pointing out the mistake. I’ve updated the code.

# 8. Python program to check whether the given integer is a multiple of both 5 and 7:

You can only check if integer is a multiple of 35. It always works the same – just multiply all the numbers you need to check for multiplicity.

For reverse the given integer n=int(input(“enter the no:”)) n=str(n) n=int(n[::-1]) print(n)

very good, tnks

Please who can help me with this question asap

A particular cell phone plan includes 50 minutes of air time and 50 text messages for $15.00 a month. Each additional minute of air time costs $0.25, while additional text messages cost $0.15 each. All cell phone bills include an additional charge of $0.44 to support 911 call centers, and the entire bill (including the 911 charge) is subject to 5 percent sales tax.

We are so to run the code in phyton

this is best app

Hello Ashwin, Thanks for sharing a Python practice

May be in a better way for reverse.

#”’ Reverse of a string

v_str = str ( input(‘ Enter a valid string or number :- ‘) ) v_rev_str=” for v_d in v_str: v_rev_str = v_d + v_rev_str

print( ‘reverse of th input string / number :- ‘, v_str ,’is :- ‘, v_rev_str.capitalize() )

#Reverse of a string ”’

Problem 15. When searching for prime numbers, the maximum search range only needs to be sqrt(n). You needlessly continue the search up to //n. Additionally, you check all even numbers. As long as you declare 2 to be prime, the rest of the search can start at 3 and check every other number. Another big efficiency improvement.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Save my name and email in this browser for the next time I comment.

Recent Posts

Introduction to Modular Programming with Flask

Modular programming is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules. In this tutorial, let's understand what modular...

Introduction to ORM with Flask-SQLAlchemy

While Flask provides the essentials to get a web application up and running, it doesn't force anything upon the developer. This means that many features aren't included in the core framework....

python homework tasks

Interested in a verified certificate or a professional certificate ?

An introduction to programming using a language called Python. Learn how to read and write code as well as how to test and “debug” it. Designed for students with or without prior programming experience who’d like to learn Python specifically. Learn about functions, arguments, and return values (oh my!); variables and types; conditionals and Boolean expressions; and loops. Learn how to handle exceptions, find and fix bugs, and write unit tests; use third-party libraries; validate and extract data with regular expressions; model real-world entities with classes, objects, methods, and properties; and read and write files. Hands-on opportunities for lots of practice. Exercises inspired by real-world programming problems. No software required except for a web browser, or you can write code on your own PC or Mac.

Whereas CS50x itself focuses on computer science more generally as well as programming with C, Python, SQL, and JavaScript, this course, aka CS50P, is entirely focused on programming with Python. You can take CS50P before CS50x, during CS50x, or after CS50x. But for an introduction to computer science itself, you should still take CS50x!

How to Take this Course

Even if you are not a student at Harvard, you are welcome to “take” this course for free via this OpenCourseWare by working your way through the course’s ten weeks of material. If you’d like to submit the course’s problem sets and final project for feedback, be sure to create an edX account , if you haven’t already. Ask questions along the way via any of the course’s communities !

  • If interested in a verified certificate from edX , enroll at cs50.edx.org/python instead.
  • If interested in a professional certificate from edX , enroll at cs50.edx.org/programs/python (for Python) or cs50.edx.org/programs/data (for Data Science) instead.

How to Teach this Course

If you are a teacher, you are welcome to adopt or adapt these materials for your own course, per the license .

TechBeamers

  • Python Quizzes
  • Testing Quiz
  • Shell Script Quiz
  • WebDev Interview
  • Python Basic
  • Python Examples
  • Python Advanced
  • Python Selenium
  • General Tech

40 Python Exercises for Beginners

Python Exercises for Beginners, Intermediate, Advanced, & Expert Levels.

If you’re new to Python and want to learn the basics and expand, our free Python exercises for beginners are a great place to start. Our 40 exercises cover numbers, strings, loops, functions, and other data structures, and they’re all designed to be easy to follow. So what are you waiting for? Start practicing today and build a strong foundation in Python!

Run the “▶” Python code using Online Python IDE

Python Exercises Every Beginner Should Practice

1. string reversal, 2. list comprehension, 3. fizzbuzz, 4. check if two strings are anagrams, 5. prime number check, level-1 practice exercises, 6. greatest common divisor, 7. linear search, 8. fizzbuzz with a twist, 9. binary search, 10. matrix transposition, level-2 practice exercises, 11. armstrong number check, 12. fibonacci series, 13. pascal’s triangle, 14. merge sort, 15. find the missing number, level-3 practice exercises, 16. count words in a sentence, 17. remove duplicates from a list, 18. binary to decimal conversion, 19. check if linked list is palindrome, 20. reverse a linked list, level-4 practice exercises, more practice opportunities, learn python by practice: a quick summary, python basic level-1 exercises.

Here are the first 5 Python exercises for beginners along with their descriptions and solutions. These are often given to interview candidates to assess their basic Python knowledge.

Description: Write a function that accepts a string as input and returns the reversed string. This exercise focuses on string manipulation using slicing in Python . You will learn how to reverse a string by leveraging Python’s  indexing and slicing features.

Also Try: 7 Ways to Reverse a List in Python

Description: Write a program that takes a list of numbers and returns a new list containing only the even numbers. This exercise introduces list comprehension in Python , a concise way to create new lists based on existing ones. You will practice using conditional statements within list comprehensions to filter elements.

Here is a basic flowchart to cover the simple logic of finding even numbers.

check even numbers in list flow chart

Description: Write a program that prints the numbers from 1 to 100. For multiples of three, print “Fizz” instead of the number, and for multiples of five, print “Buzz”. This exercise emphasizes the use of conditional statements ( Python if-else ) to perform specific actions based on given conditions. You will practice control flow and modulo operations.

Below is a flowchart to illustrate the FizzBuzz algo.

Python exercise for fizzbuzz algo flow chart

Description: Write a function that takes two strings as input and returns True if they are anagrams (contain the same characters with the same frequency), False otherwise. This exercise involves comparing the characters and their frequencies in two strings to determine if they are anagrams. You will practice string manipulation, sorting, and comparison.

Check this flowchart to create a mindmap on how to solve this.

Python exercise to check for anagrams flow chart

Description: Write a function that accepts a number as input and returns True if it is a prime number, and False otherwise. This exercise focuses on prime number determination using basic looping and mathematical operations. You will learn about loops, conditions, numbers, and Python range() .

Refer to this flowchart to understand the logic of filtering prime numbers first.

check for prime numbers flow chart

Good, now you must start feeling comfortable in solving Python programming problems. Next, we leave you with 5 basic Python exercises. Start building logic to solve these challenges.

  • Find the Maximum Number
  • Calculate the Average of a List
  • Check if a Number is Palindrome
  • Count Vowels in a String
  • Calculate the Factorial of a Number in Python

Don’t miss to check out the next 5 Python exercises for beginners. These are often asked in Python’s technical interview rounds, along with their descriptions and solutions.

Python Basic Level-2 Exercises

The difficulty of the exercises will increase gradually in this section. The first exercise is the simplest, while the last one is the most difficult. We encourage you to attempt all of the exercises.

Description: Write a function that takes two numbers and returns their greatest common divisor (GCD). This exercise requires implementing the Euclidean algorithm to find the GCD of two numbers. You will practice using loops and conditional statements to perform repetitive calculations.

Before jumping on the code, try to solve it in using pen and paper.

logic to calculate gcd flow chart

Description: Write a function that takes a list and a target element and returns the index of the target element in the list, or -1 if it is not found. This exercise demonstrates the concept of linear search, which involves iterating through a list to find a specific element. You will practice using loops and conditions to perform element comparisons.

Let’s find out how the linear search works using the below flowchart first.

Python exercise for linear search flow chart

Description: Write a program that prints the numbers from 1 to 100. For multiples of three, print “Fizz”. For multiples of five, print “Buzz”. Additionally, for numbers containing the digit 3, print “Fizz”. This exercise builds upon the FizzBuzz concept while introducing additional conditions based on digit presence. You will practice using string manipulation, modulo operations, and conditions.

Description: Write a function that takes a sorted list and a target element and returns the index of the target element using binary search, or -1 if it is not found. This exercise involves implementing the binary search algorithm to efficiently locate an element in a sorted list. You will learn about the concept of divide and conquer, and how to use recursion or iterative approaches to perform binary search.

Binary search is fancy, and implementing it can be a bit tricky. So, it’s better to draw the flow on paper to avoid too many hits and trials on the computer.

Python exercise for binary search flow chart

Description: Write a function that takes a matrix (2D list) and returns its transpose (rows become columns and vice versa). This exercise focuses on working with nested lists and performing matrix transposition. You will practice using list comprehension and indexing to transform rows into columns and vice versa.

Here are 5 intermediate-level Python exercises for you to practice.

  • Reverse Words in a Sentence
  • Sort a List of Strings Alphabetically
  • Check if a Number is a Perfect Square
  • Find the Second Largest Number in a List
  • Remove Duplicate Elements from a List

So far, you have gone through 20 (10 solved and 10 for practice ) Python exercises for beginners. Now is the time to take up a bit more challenging problems. You may now have reached the apex of problem-solving in Python programming.

Python Basic Level-3 Exercises

These exercises are all challenging, but they are also all achievable with a good understanding of Python. If you can solve these exercises, you will be well on your way to becoming an advanced Python programmer.

Description: Write a function that takes a number as input and returns True if it is an Armstrong number (the sum of cubes of its digits is equal to the number itself), False otherwise. This exercise involves decomposing a number into its digits, performing computations, and comparing the result with the original number. You will practice using loops, arithmetic operations, and conditionals.

Do you know the fact that flowcharts are the magic key to solving many difficult problems? They are far away from any language barrier. So, you will get help irrespective of the language you use.

Check Armstrong number flow chart

Description: Write a function that generates the Fibonacci series up to a specified number of terms. This exercise focuses on the Fibonacci sequence, where each number is the sum of the two preceding ones. You will practice using loops and variables to calculate and display the series.

The Fibonacci sequence, named after the Italian mathematician Leonardo of Pisa, who is also known as Fibonacci, is like a mathematical dance of numbers. Let’s first sketch it out using a flowchart.

Fibonacci series flow chart

Description: Write a function that generates Pascal’s triangle up to a specified number of rows. This exercise involves constructing Pascal’s triangle, where each number is the sum of the two numbers directly above it. You will practice using nested loops, lists, and indexing to create and display the triangle.

Pascal’s Triangle is a special arrangement of numbers where each number is the sum of the two above it. It helps in probability, counting combinations, and solving problems in a structured way. It’s like a math tool that makes certain calculations easier. Would you mind if we first solve it using a flowchart?

Python exercise for pascal triangle using range flow chart

Description: Write a function that implements the Merge Sort algorithm to sort a list of numbers. This exercise introduces the concept of merge sort, a recursive sorting algorithm that divides the list into smaller sublists, sorts them, and merges them back together. You will learn about recursion, list slicing , and merging sorted lists.

Merge Sort sorts a list by dividing it into tiny parts, sorting each part, and then getting them back together. Take it like, you are sorting toys by breaking them into groups, sorting each group, and then neatly combining them. Below is a flowchart depicting the flow code in the solution part.

Python exercise for merge sort algorithm flow chart

Description: Write a function that takes a list of numbers from 1 to n (with one number missing) and returns the missing number. This exercise involves finding the missing number in a list by comparing the expected sum with the actual sum. You will practice list iteration, arithmetic operations, and conditional statements.

Here”Find the Missing Number” is like solving a number puzzle. You have a list with one number missing. To find it, you add up all the numbers in a special way and compare it with the sum of the given numbers. The difference is the missing number – like figuring out the secret code! Check out its flowchart.

Find missing number flow chart

Take up the following advanced-level Python exercises and put your knowledge to the test.

  • Find the Median of a List
  • Implement a Stack Data Structure
  • Generate Permutations of a List
  • Calculate the Power of a Number
  • Reverse Bits of a Number

Finally, we are in the final lap of 40 Python exercises for beginners. So, brace for an ultimate test of your programming excellence. And, don’t forget to enter the last level of Python programming problems, hit the next button now.

Python Basic Level-4 Exercises

Hey there, beginners! Are you ready to take on the challenge of 5 expert-level Python exercises? Push your coding expertise to the limit and conquer complex problems with advanced algorithms and data structures. Get set to level up your Python skills and become a coding maestro!

Description: Write a function that takes a sentence as input and returns the count of each word in the sentence. This exercise focuses on word frequency analysis, where you will split a sentence into words, create a frequency dictionary, and count the occurrences of each word. You will practice string manipulation, loop iteration, and Python dictionary operations.

“Count Words in a Sentence” is like keeping track of people in a group. Think of your sentence as the group, and your task is to figure out how many people (words) are there. You go through each word, and whenever you come across a new one, you mark it down. The final count tells you how many people, or words, are in the group. Let’s now get to it flowchart.

Count words in a sentence flow chart

Description: Write a function that takes a list and returns a new list with duplicate elements removed while preserving the order of the remaining elements. This exercise focuses on removing duplicates from a list by iterating over it, checking for duplicates, and creating a new list without duplicates. You will practice list manipulation, element comparisons, and list comprehension.

Description: Write a function that takes a binary number as input and returns its decimal equivalent. This exercise involves converting a binary number to its decimal representation using positional notation. You will practice string manipulation, arithmetic operations, and exponentiation.

Description: Write a function that takes the head of a linked list as input and returns True if the linked list is a palindrome (reads the same forward and backward), False otherwise. This exercise focuses on checking if a linked list is a palindrome by comparing elements from both ends. You will practice linked list traversal, stack data structure usage, and element comparisons.

These exercises cover a range of concepts and can help beginners improve their problem-solving skills in Python.

Description: Write a function that takes the head of a linked list and reverses the order of the elements in the list. Return the new head of the reversed list. This exercise tests your understanding of linked lists and requires you to manipulate pointers to reverse the order of the list efficiently.

In this exercise, you needed to implement the function reverse_linked_list that takes the head of a linked list as input. The function reverses the order of the elements in the list by manipulating the pointers of each node. The new head of the reversed list is then returned. The code also includes an example to demonstrate the reversal of a linked list.

Lastly, check out the 5 Python exercises that you should practice to claim expert-level proficiency in your programming skills.

  • Find the Longest Consecutive Subsequence in a List
  • Implement a Binary Search Tree
  • Calculate the Nth Fibonacci Number in O(1) Space Complexity
  • Sort a List of Dates in Ascending Order
  • Detect a Cycle in a Directed Graph

10 Python Tricky Coding Exercises 50 Python Exercises List, Tuple, Dict 45 Python Exercises On Loops/ If-Else 30 Python Questions On List, Tuple, Dict 20 Problems On Concatenated Strings Python Data Class Exercises – Beginners 20 Challenging Pseudo Code Questions

We have tried to cover a wide range of fundamental concepts and problem-solving techniques through these 40 Python exercises for beginners. These exercises include topics such as string manipulation, sorting algorithms, anagram checks, and linked list manipulation.

Such programming tasks are good for beginners to practice and strengthen their Python skills before interviews. By actively working through these exercises, beginners can gain confidence in their coding abilities.

If you like us to deliver more such topics, do let us know via comments. Also, care to share this tutorial on your social media accounts to let others get a chance to practice these exercises.

– TechBeamers .

You Might Also Like

How to connect to postgresql in python, generate random ip address (ipv4/ipv6) in python, python remove elements from a list, selenium python extent report guide, 10 python tricky coding exercises.

Test cases and Test Case Template for API Testing

Leave a Reply

Your email address will not be published. Required fields are marked *

Stay Connected

Latest tutorials.

MySQL vs MongoDB Comparison - Know the Key Differences

MySQL vs MongoDB Comparison

Struct in C Programming Language Explained with Examples

C Programming Language “Struct”

Sample C Programs for Practice With Full Code

20 C Programs for Beginners to Practice

How to Use Union in SQL Queries

How to Use Union in SQL Queries

  • Comprehensive Learning Paths
  • 150+ Hours of Videos
  • Complete Access to Jupyter notebooks, Datasets, References.

Rating

101 Pandas Exercises for Data Analysis

  • April 27, 2018
  • Selva Prabhakaran

101 python pandas exercises are designed to challenge your logical muscle and to help internalize data manipulation with python’s favorite package for data analysis. The questions are of 3 levels of difficulties with L1 being the easiest to L3 being the hardest.

python homework tasks

You might also like to practice the 101 NumPy exercises , they are often used together.

1. How to import pandas and check the version?

2. how to create a series from a list, numpy array and dict.

Create a pandas series from each of the items below: a list, numpy and a dictionary

3. How to convert the index of a series into a column of a dataframe?

Difficulty Level: L1

Convert the series ser into a dataframe with its index as another column on the dataframe.

4. How to combine many series to form a dataframe?

Combine ser1 and ser2 to form a dataframe.

python homework tasks

5. How to assign name to the series’ index?

Give a name to the series ser calling it ‘alphabets’.

6. How to get the items of series A not present in series B?

Difficulty Level: L2

From ser1 remove items present in ser2 .

7. How to get the items not common to both series A and series B?

Get all items of ser1 and ser2 not common to both.

8. How to get the minimum, 25th percentile, median, 75th, and max of a numeric series?

Difficuty Level: L2

Compute the minimum, 25th percentile, median, 75th, and maximum of ser .

9. How to get frequency counts of unique items of a series?

Calculte the frequency counts of each unique value ser .

10. How to keep only top 2 most frequent values as it is and replace everything else as ‘Other’?

From ser , keep the top 2 most frequent items as it is and replace everything else as ‘Other’.

11. How to bin a numeric series to 10 groups of equal size?

Bin the series ser into 10 equal deciles and replace the values with the bin name.

Desired Output

12. How to convert a numpy array to a dataframe of given shape? (L1)

Reshape the series ser into a dataframe with 7 rows and 5 columns

13. How to find the positions of numbers that are multiples of 3 from a series?

Find the positions of numbers that are multiples of 3 from ser .

14. How to extract items at given positions from a series

From ser , extract the items at positions in list pos .

15. How to stack two series vertically and horizontally ?

Stack ser1 and ser2 vertically and horizontally (to form a dataframe).

16. How to get the positions of items of series A in another series B?

Get the positions of items of ser2 in ser1 as a list.

17. How to compute the mean squared error on a truth and predicted series?

Compute the mean squared error of truth and pred series.

18. How to convert the first character of each element in a series to uppercase?

Change the first character of each word to upper case in each word of ser .

19. How to calculate the number of characters in each word in a series?

20. how to compute difference of differences between consequtive numbers of a series.

Difference of differences between the consequtive numbers of ser .

21. How to convert a series of date-strings to a timeseries?

Difficiulty Level: L2

22. How to get the day of month, week number, day of year and day of week from a series of date strings?

Get the day of month, week number, day of year and day of week from ser .

Desired output

23. How to convert year-month string to dates corresponding to the 4th day of the month?

Change ser to dates that start with 4th of the respective months.

24. How to filter words that contain atleast 2 vowels from a series?

Difficiulty Level: L3

From ser , extract words that contain atleast 2 vowels.

25. How to filter valid emails from a series?

Extract the valid emails from the series emails . The regex pattern for valid emails is provided as reference.

26. How to get the mean of a series grouped by another series?

Compute the mean of weights of each fruit .

27. How to compute the euclidean distance between two series?

Compute the euclidean distance between series (points) p and q, without using a packaged formula.

28. How to find all the local maxima (or peaks) in a numeric series?

Get the positions of peaks (values surrounded by smaller values on both sides) in ser .

29. How to replace missing spaces in a string with the least frequent character?

Replace the spaces in my_str with the least frequent character.

30. How to create a TimeSeries starting ‘2000-01-01’ and 10 weekends (saturdays) after that having random numbers as values?

31. how to fill an intermittent time series so all missing dates show up with values of previous non-missing date.

ser has missing dates and values. Make all missing dates appear and fill up with value from previous date.

32. How to compute the autocorrelations of a numeric series?

Compute autocorrelations for the first 10 lags of ser . Find out which lag has the largest correlation.

33. How to import only every nth row from a csv file to create a dataframe?

Import every 50th row of BostonHousing dataset as a dataframe.

34. How to change column values when importing csv to a dataframe?

Import the boston housing dataset , but while importing change the 'medv' (median house value) column so that values < 25 becomes ‘Low’ and > 25 becomes ‘High’.

35. How to create a dataframe with rows as strides from a given series?

36. how to import only specified columns from a csv file.

Import ‘crim’ and ‘medv’ columns of the BostonHousing dataset as a dataframe.

37. How to get the n rows, n columns, datatype, summary stats of each column of a dataframe? Also get the array and list equivalent.

Get the number of rows, columns, datatype and summary statistics of each column of the Cars93 dataset. Also get the numpy array and list equivalent of the dataframe.

38. How to extract the row and column number of a particular cell with given criterion?

Which manufacturer, model and type has the highest Price ? What is the row and column number of the cell with the highest Price value?

39. How to rename a specific columns in a dataframe?

Rename the column Type as CarType in df and replace the ‘.’ in column names with ‘_’.

Desired Solution

40. How to check if a dataframe has any missing values?

Check if df has any missing values.

41. How to count the number of missing values in each column?

Count the number of missing values in each column of df . Which column has the maximum number of missing values?

42. How to replace missing values of multiple numeric columns with the mean?

Replace missing values in Min.Price and Max.Price columns with their respective mean.

43. How to use apply function on existing columns with global variables as additional arguments?

Difficulty Level: L3

In df , use apply method to replace the missing values in Min.Price with the column’s mean and those in Max.Price with the column’s median.

Use Hint from StackOverflow

44. How to select a specific column from a dataframe as a dataframe instead of a series?

Get the first column ( a ) in df as a dataframe (rather than as a Series).

45. How to change the order of columns of a dataframe?

Actually 3 questions.

Create a generic function to interchange two columns, without hardcoding column names.

Sort the columns in reverse alphabetical order, that is colume 'e' first through column 'a' last.

46. How to set the number of rows and columns displayed in the output?

Change the pamdas display settings on printing the dataframe df it shows a maximum of 10 rows and 10 columns.

47. How to format or suppress scientific notations in a pandas dataframe?

Suppress scientific notations like ‘e-03’ in df and print upto 4 numbers after decimal.

48. How to format all the values in a dataframe as percentages?

Format the values in column 'random' of df as percentages.

49. How to filter every nth row in a dataframe?

From df , filter the 'Manufacturer' , 'Model' and 'Type' for every 20th row starting from 1st (row 0).

50. How to create a primary key index by combining relevant columns?

In df , Replace NaN s with ‘missing’ in columns 'Manufacturer' , 'Model' and 'Type' and create a index as a combination of these three columns and check if the index is a primary key.

51. How to get the row number of the nth largest value in a column?

Find the row position of the 5th largest value of column 'a' in df .

52. How to find the position of the nth largest value greater than a given value?

In ser , find the position of the 2nd largest value greater than the mean.

53. How to get the last n rows of a dataframe with row sum > 100?

Get the last two rows of df whose row sum is greater than 100.

54. How to find and cap outliers from a series or dataframe column?

Replace all values of ser in the lower 5%ile and greater than 95%ile with respective 5th and 95th %ile value.

55. How to reshape a dataframe to the largest possible square after removing the negative values?

Reshape df to the largest possible square with negative values removed. Drop the smallest values if need be. The order of the positive numbers in the result should remain the same as the original.

56. How to swap two rows of a dataframe?

Swap rows 1 and 2 in df .

57. How to reverse the rows of a dataframe?

Reverse all the rows of dataframe df .

58. How to create one-hot encodings of a categorical variable (dummy variables)?

Get one-hot encodings for column 'a' in the dataframe df and append it as columns.

59. Which column contains the highest number of row-wise maximum values?

Obtain the column name with the highest number of row-wise maximum’s in df .

60. How to create a new column that contains the row number of nearest column by euclidean distance?

Create a new column such that, each row contains the row number of nearest row-record by euclidean distance.

61. How to know the maximum possible correlation value of each column against other columns?

Compute maximum possible absolute correlation value of each column against other columns in df .

62. How to create a column containing the minimum by maximum of each row?

Compute the minimum-by-maximum for every row of df .

63. How to create a column that contains the penultimate value in each row?

Create a new column 'penultimate' which has the second largest value of each row of df .

64. How to normalize all columns in a dataframe?

  • Normalize all columns of df by subtracting the column mean and divide by standard deviation.
  • Range all columns of df such that the minimum value in each column is 0 and max is 1.

Don’t use external packages like sklearn.

65. How to compute the correlation of each row with the suceeding row?

Compute the correlation of each row of df with its succeeding row.

66. How to replace both the diagonals of dataframe with 0?

Replace both values in both diagonals of df with 0.

67. How to get the particular group of a groupby dataframe by key?

This is a question related to understanding of grouped dataframe. From df_grouped , get the group belonging to 'apple' as a dataframe.

68. How to get the n’th largest value of a column when grouped by another column?

In df , find the second largest value of 'taste' for 'banana'

69. How to compute grouped mean on pandas dataframe and keep the grouped column as another column (not index)?

In df , Compute the mean price of every fruit , while keeping the fruit as another column instead of an index.

70. How to join two dataframes by 2 columns so they have only the common rows?

Join dataframes df1 and df2 by ‘fruit-pazham’ and ‘weight-kilo’.

71. How to remove rows from a dataframe that are present in another dataframe?

From df1 , remove the rows that are present in df2 . All three columns must be the same.

72. How to get the positions where values of two columns match?

73. how to create lags and leads of a column in a dataframe.

Create two new columns in df , one of which is a lag1 (shift column a down by 1 row) of column ‘a’ and the other is a lead1 (shift column b up by 1 row).

74. How to get the frequency of unique values in the entire dataframe?

Get the frequency of unique values in the entire dataframe df .

75. How to split a text column into two separate columns?

Split the string column in df to form a dataframe with 3 columns as shown.

To be continued . .

More Articles

How to convert python code to cython (and speed up 100x), how to convert python to cython inside jupyter notebooks, install opencv python – a comprehensive guide to installing “opencv-python”, install pip mac – how to install pip in macos: a comprehensive guide, scrapy vs. beautiful soup: which is better for web scraping, add python to path – how to add python to the path environment variable in windows, similar articles, complete introduction to linear regression in r, how to implement common statistical significance tests and find the p value, logistic regression – a complete tutorial with examples in r.

Subscribe to Machine Learning Plus for high value data science content

© Machinelearningplus. All rights reserved.

python homework tasks

Machine Learning A-Z™: Hands-On Python & R In Data Science

Free sample videos:.

python homework tasks

25 Python Projects for Beginners – Easy Ideas to Get Started Coding Python

Jessica Wilkins

The best way to learn a new programming language is to build projects with it.

I have created a list of 25 beginner friendly project tutorials in Python.

My advice for tutorials would be to watch the video, build the project, break it apart and rebuild it your own way. Experiment with adding new features or using different methods.

That will test if you have really learned the concepts or not.

You can click on any of the projects listed below to jump to that section of the article.

If you are not familiar with the basics of Python, then I would suggest watching this beginner freeCodeCamp Python tutorial .

Python Projects You Can Build

  • Guess the Number Game (computer)
  • Guess the Number Game (user)
  • Rock, paper, scissors
  • Countdown Timer
  • Password Generator
  • QR code encoder / decoder
  • Tic-Tac-Toe
  • Tic-Tac-Toe AI
  • Binary Search
  • Minesweeper
  • Sudoku Solver
  • Photo manipulation in Python
  • Markov Chain Text Composer
  • Connect Four
  • Online Multiplayer Game
  • Web Scraping Program
  • Bulk file renamer
  • Weather Program

Code a Discord Bot with Python - Host for Free in the Cloud

  • Space invaders game

Mad libs Python Project

In this Kylie Ying tutorial, you will learn how to get input from the user, work with f-strings, and see your results printed to the console.

This is a great starter project to get comfortable doing string concatenation in Python.

Guess the Number Game Python Project (computer)

In this Kylie Ying tutorial, you will learn how to work with Python's random module , build functions, work with while loops and conditionals, and get user input.

Guess the Number Game Python Project (user)

In this Kylie Ying tutorial, you will build a guessing game where the computer has to guess the correct number. You will work with Python's random module , build functions, work with while loops and conditionals, and get user input.

Rock, paper, scissors Python Project

In this Kylie Ying tutorial , you will work with random.choice() , if statements, and getting user input. This is a great project to help you build on the fundamentals like conditionals and functions.

Hangman Python Project

In this Kylie Ying tutorial, you will learn how to work with dictionaries, lists, and nested if statements. You will also learn how to work with the string and random Python modules.

Countdown Timer Python Project

In this Code With Tomi tutorial , you will learn how to build a countdown timer using the time Python module. This is a great beginner project to get you used to working with while loops in Python.

Password Generator Python Project

In this Code With Tomi tutorial , you will learn how to build a random password generator. You will collect data from the user on the number of passwords and their lengths and output a collection of passwords with random characters.

This project will give you more practice working with for loops and the random Python module.

QR code encoder / decoder Python Project

In this Code With Tomi tutorial , you will learn how to create your own QR codes and encode/decode information from them. This project uses the qrcode library.

This is a great project for beginners to get comfortable working with and installing different Python modules.

Tic-Tac-Toe Python Project

In this Kylie Ying tutorial, you will learn how to build a tic-tac-toe game with various players in the command line. You will learn how to work with Python's time and math modules as well as get continual practice with nested if statements.

Tic-Tac-Toe AI Python Project

In this Kylie Ying tutorial, you will learn how to build a tic-tac-toe game where the computer never loses. This project utilizes the minimax algorithm which is a recursive algorithm used for decision making.

Binary Search Python Project

In this Kylie Ying tutorial, you will learn how to implement the divide and conquer algorithm called binary search. This is a common searching algorithm which comes up in job interviews, which is why it is important to know how to implement it in code.

Minesweeper Python Project

In this Kylie Ying tutorial, you will build the classic minesweeper game in the command line. This project focuses on recursion and classes.

Sudoku Solver Python Project

In this Kylie Ying tutorial, you will learn how to build a sudoku solver which utilizes the backtracking technique. Backtracking is a recursive technique that searches for every possible combination to help solve the problem.

Photo Manipulation in Python Project

In this Kylie Ying tutorial, you will learn how to create an image filter and change the contrast, brightness, and blur of images. Before starting the project, you will need to download the starter files .

Markov Chain Text Composer Python Project

In this Kylie Ying tutorial, you will learn about the Markov chain graph model and how it can be applied the relationship of song lyrics. This project is a great introduction into artificial intelligence in Python.

Pong Python Project

In this Christian Thompson tutorial , you will learn how to recreate the classic pong game in Python. You will be working with the os and turtle Python modules which are great for creating graphics for games.

Snake Python Project

In this Tech with Tim tutorial, you will learn how to recreate the classic snake game in Python. This project uses Object-oriented programming and Pygame which is a popular Python module for creating games.

Connect Four Python Project

In this Keith Galli tutorial, you will learn how to build the classic connect four game. This project utilizes the numpy , math , pygame and sys Python modules.

This project is great if you have already built some smaller beginner Python projects. But if you haven't built any Python projects, then I would highly suggest starting with one of the earlier projects on the list and working your way up to this one.

Tetris Python Project

In this Tech with Tim tutorial, you will learn how to recreate the classic Tetris game. This project utilizes Pygame and is great for beginner developers to take their skills to the next level.

Online Multiplayer Game Python Project

In this Tech with Tim tutorial, you will learn how to build an online multiplayer game where you can play with anyone around the world. This project is a great introduction to working with sockets, networking, and Pygame.

Web Scraping Program Python Project

In this Code With Tomi tutorial , you will learn how to ask for user input for a GitHub user link and output the profile image link through web scraping. Web scraping is a technique that collects data from a web page.

Bulk File Re-namer Python Project

In this Code With Tomi tutorial , you will learn how to build a program that can go into any folder on your computer and rename all of the files based on the conditions set in your Python code.

Weather Program Python Project

In this Code With Tomi tutorial , you will learn how to build a program that collects user data on a specific location and outputs the weather details of that provided location. This is a great project to start learning how to get data from API's.

In this Beau Carnes tutorial , you will learn how to build your own bot that works in Discord which is a platform where people can come together and chat online. This project will teach you how to work with the Discord API and Replit IDE.

After this video was released, Replit changed how you can store your environments variables in your program. Please read through this tutorial on how to properly store environment variables in Replit.  

Space Invaders Game Python Project

In this buildwithpython tutorial ,  you will learn how to build a space invaders game using Pygame. You will learn a lot of basics in game development like game loops, collision detection, key press events, and more.

I am a musician and a programmer.

If you read this far, thank the author to show them you care. Say Thanks

Learn to code for free. freeCodeCamp's open source curriculum has helped more than 40,000 people get jobs as developers. Get started

Best Python Homework Help Websites (Reviewed by Experts)

Python Homework Help

Many teens are fond of technology in all its manifestation. As they grow up, their interest becomes rather professional, and many of them decide to become certified coders to create all those games, software, apps, websites, and so on. This is a very prospective area, which will always be in high demand. Yet, the path to the desired diploma is pretty complicated. Not all assignments can be handled properly. As a result, many learners look for professional help on the Internet.

Smart minds are aware of custom programming platforms that help with all kinds of programming languages. It’s hard to define which one is better than the others because all legal and highly reputed platforms offer pretty much the same guarantees and conveniences of high quality. This is when our comprehensive review will be helpful for students. We have checked the best Python homework help websites. We have opted for Python because of 2 reasons. Firstly, this is one of the most popular and widely used coding languages. You will surely have to master it. Secondly, only one language helps to narrow down your choice. So, read on to find out the possible options that really work.

6 Top Python Assignment Help Websites to Solve All Your Issues

It is good to have a rich choice of coding options. But, the abundance of choices can also be overwhelming. Here are some top recommendations to make the choice easier:

These are the top Python assignment help websites, according to the research of our quality control experts. Let’s look at each of them individually, focusing on a unique benefit offered by each site. This data may help you to define the type of aid you need – high quality, top speed, cheap prices, and so on.

Python Programming Homework Help – How to Choose the Right Site?

When it comes to choosing a custom coding site, you may be puzzled for a long time. There are many great options, and each seems to offer flawless Python programming assignment help. How to define the best platform in the niche? Well, the first step is to create a wish list. It should include the features you expect to get from a pro platform.

Secondly, use the comparison method. You need to shortlist all the options and check what exactly each of them offers. While one offers cheaper prices, another one is faster. So, the choice should be based on your priorities. We have already created a list of the most beneficial sites for you. The last task is to compare them after you read more detailed descriptions.

We’ve shortlisted the most beneficial sites for you. What you’ll be left with is to compare them and pick the one that suits your needs best.

1. CodingHomeworkHelp.org: A Top-Rated Solution for Python Homework

This is when our comprehensive review will be helpful for students. We have checked the best Python homework help websites. We have opted for Python because of 2 reasons.

Our first option is called CodingHomeworkHelp , and it has the highest average rating, according to our experts. They’ve given it 9.8 out of 10 possible, which is surely a great achievement. The combination of conditions and guarantees makes it nearly ideal for students needing Python homework help. Let’s take a look at its main features:

  • Outstanding quality. This custom coding agency is famous for the quality of its aid, which is always as high as the client desires. It employs only certified and skilled solvers who can meet the demands of the strictest educators and employers (if you already work).
  • Timely aid . This platform has delivered almost 97% of all its orders on time. This indicator proves that you may not worry about your time limits. Its specialists are fast enough to meet the shortest timeframes.
  • Unique projects . Its experts do all the orders from scratch. It means they never reuse even their own projects. They take into account the slightest details and make every project unique. Your code will surely differ from others, and it will be free of any signs of plagiarism. Don’t worry about this matter.
  • Quite cheap prices . You will be pleasantly impressed by the price policy offered by this coding agency. It is quite cheap and fair. Ordinary students will be able to afford its professional aid. Moreover, they can count on great discounts and promos to save up even more of their funds.
  • Effective customer support . This site offers a very welcoming and fast team of customer support, which consists of great consultants. They are always at work and provide clear answers to the questions related to the policies of this agency. The answers come in a couple of minutes or so.

2. DoMyAssignments.com: Affordable Python Assignment Assistance

The second site we'd like to recommend is DoMyAssignments, boasting a strong rating of 9.7 out of 10 stars. This impressive score reflects the site's commitment to excellence, and you can be confident that it can satisfy all your coding needs to the fullest. With a team of real professionals, each selected through a special onboarding process that consists of several stages, only the most gifted specialists make the cut.

The second site we’d like to recommend is DoMyAssignments , boasting a strong rating of 9.7 out of 10 stars. This impressive score reflects the site’s commitment to excellence, and you can be confident that it can satisfy all your coding needs to the fullest. With a team of real professionals, each selected through a special onboarding process that consists of several stages, only the most gifted specialists make the cut.

How can they assist with your Python assignment? They offer individualized solutions at the cheapest prices among our reviewed sites. You can even modify the order to fit your budget, considering factors like quality, type, size, and urgency.

Besides, the site ensures other vital benefits. Make allowances for them here below:

  • Quick assistance : The experts at DoMyAssignments are known for their speed and diligence. An impressive 96% of all their orders were delivered without delays, and 79% were completed long before the deadline . These achievements demonstrate their commitment to timely delivery, even for the most urgent tasks.
  • Full privacy : Security is a priority at DoMyAssignments. They ensure the confidentiality of your private data and never share it with third parties. With effective antivirus software and encrypted billing methods, you can trust that you’re 100% safe when using their platform.
  • 24/7 support : Need help at any hour? DoMyAssignments runs 24/7, providing immediate access to competent technicians via live chat. Whether you have urgent questions about their policies or need clarification on specific details, you can expect fast and clear answers.
  • Individual approach : Personalized service is a standout feature of DoMyAssignments. You can contact your helper at predetermined hours to discuss your project’s progress. This direct communication allows for real-time updates and changes, offering a convenient way to ensure that your project aligns perfectly with your requirements.

You should also know that it practices an individual approach. You are welcome to contact your helper during the predetermined hours. Just discuss with him or her when both of you can be online and check the progress of your project. It’s a fast and convenient way to offer changes on demand and without delays.

3. AssignCode.com: Fast and Reliable Python Homework Help

Image 10

If speed is your priority, AssignCode is an excellent choice. How fast can you do my Python homework? Well, a lot depends on the demands you have. Nonetheless, most projects are completed there in 4–5 hours only!

Thus, you can place an order even later at night to get it done early in the morning. Just be sure you set manageable conditions. If it’s so, your order will be accepted and completed according to your demands. It will be delivered on time. As for other vital guarantees, you may count on:

  • Great quality. This company has a professional staff, which consists of outstanding programmers. They all have confirmed their qualifications and were trained to match the top demands of every high school, college, or university. They can help even already working coders who face some issues at the moment.
  • Fair prices. You will surely like the prices set by this coding company. They are quite cheap, and ordinary students will not face problems with ordering professional help on this site. There is a possibility to quickly regulate the prices online. You only need to change the quality, type, volume, or deadline of your assignment. A refund guarantee is given as well.
  • All kinds of features . This platform is able to satisfy the slightest demands of the strictest customers. Everything will be done exactly as you want, and can contact your helper directly. He or she will offer all the necessary skills to complete your project perfectly. The platform’s specialists handle all assignment types. Python is only one of the possible areas of their competence.
  • A responsive customer support team. In case you don’t understand some policies or limits of this company, turn to its team of support. It consists of polite and knowledgeable operators. They work day and night to provide detailed responses in about 2 minutes or so.

Also read: The 10 Commandments of Coding: Study, Learn and Put into Practice

4. CWAssignments.com: Unique and Customized Python Assistance

Image 6

Many students cannot create unique projects in coding, and that is why they may require the unique Python assignment help of CWAssignments . Its rating is 9.4 out of 10, which is a sign of a top-class coding site.

It does all the projects anew and never uses the projects of other coders. Its experts don’t reuse even their old assignments. The new conditions are taken into account and fulfilled uniquely. It also offers other vital benefits. These are as follows:

  • Reasonable pricing . You will not spend too much if you request assistance there. The site sets relatively cheap prices and offers full customization of the orders. This puts you in full charge of the total cost. Fill out the compulsory fields and change them to see how you can impact the cost to stop when it suits your budget.
  • Top quality. The agency hires only educated and talented coders. They surely understand how to handle any assignment in computer science, engineering, and math. They stick to the official requirements of all educational institutions and can satisfy even the most scrupulous educators. Thus, your chance to get an A+ grade sufficiently increases.
  • A personified approach. You may get in touch with your solver whenever his or her aid may be required. Just set a reasonable schedule when both of you can be online to discuss the peculiarities of your order. The specialists will provide updated reports to let you know where your project stands.
  • Total online confidentiality . This is a reliable and respectful coding platform that always protects the private data of its clients. It never shares any facts about them with anyone else. It utilizes effective software that protects its databases from all types of online dangers. Thanks to the billing methods offered by the site, you may not worry about your transactions within it. They are encrypted and hidden from other users.

5. HelpHomework.net: Personalized Approach to Python Coding

Image 5

Many learners seek personalized attention for their coding projects. If you need a tailored approach to Python homework help, HelpHomework is the place to go. It offers flexible scheduling for real-time collaboration with your solver.

Simply coordinate a schedule to be online with your solver, using your preferred instant messenger for quick updates. Along with this personalized approach, the platform also provides other key guarantees, including:

  • Outstanding Quality: This platform hires only certified coders who pass a rigorous selection process. They’re trained to handle any assignments in computer science, engineering, and math, ensuring precise completion to boost your success.
  • Plagiarism-Free Projects: The platform ensures uniqueness in every project. Though coding may seem repetitive, the specialists craft each project from scratch, meeting educators’ expectations for originality.
  • 24/7 Support and Supervision: Visit this site anytime, day or night. It operates around the clock, with kind operators ready to provide swift, detailed responses in live chat.
  • Reasonable Prices: Offering affordable rates to fit students’ budgets, the company allows you to customize your order’s price by adjusting the project’s quality, size, type, and deadline.

6. CodingAssignments.com: A Wide Range of Python Experts at Your Service

Image 4

A rich choice of specialists is significant to all. If you want to be sure that you will always find the kind of help with Python assignments or other programming languages, you should opt for CodingAssignments .

This highly reputed coding company boasts over 700 specialists. Thus, you will never be deprived of some privileges. You will find perfect solvers for whatever coding project you must do. The company likewise provides the next benefits:

  • On-time deliveries. The experts of the company value the precious time of their customers. They polish all the necessary skills and master the most effective time management methods to meet really short deadlines. Just provide manageable terms. If the assignment is too large and urgent, place it as early as you can. The specialists will check the odds and will surely accept it if it can be completed within the stated period of time.
  • Fair pricing . You can count on relatively cheap prices when you deal with this programming site. Thus, common students will be able to afford its aid. Besides, you can count on pleasant promo codes and discounts to save up even more of your funds. Thanks to the refund guarantee, all your investments are secured.
  • Full online anonymity. Don’t worry about your online safety when you visit this site. It guards its databases and your private information with reliable antivirus software. The site never reveals any details about its customers to anybody else.
  • Hourly supervision . This coding platform operates 24 hours round the clock to let its customers place urgent orders even late at night. Find the chat window and specify the problem you’re facing. There are always operators at work. They provide detailed answers in a couple of minutes or faster.

Also check: Python Course for Beginners Online FREE

FAQs About The Best Python Homework Help Websites

Let’s answer some of the commonly asked questions around our topic of discussion today.

Can I pay someone to do my Python assignment?

Using a legal online coding site requires payment, so choose wisely as different sites set different prices. While 2 sites offer the same level of quality, it would not be wise to choose the one with a more expensive price policy. You’d better study this case before you place the first order.

How can I pay someone to do my Python homework?

To pay for Python homework, register on the site and add a billing method such as PayPal, Visa, or Pioneer. The methods are very convenient and safe. Make sure your debit or credit card has enough money. When you place an order, you will pay the price automatically. The money will be in escrow until the job is done. Check its quality, and if it suits you, release the final payment to your solver.

How can I receive assistance with Python projects?

You can receive professional coding assistance by finding the right coding platforms and hiring the most suitable Python experts. Conduct thorough research to identify the most reliable and suitable sites.

One of the components of your research is surely reading reviews similar to ours. It helps to narrow down the list of potential helping platforms.

Once you’re on the site, check its top performers. Although their prices are higher, you will be safe about the success of your project. Yet, other experts with low ratings can suit you as well. Just check their detailed profiles and read reviews of other clients to be sure they can satisfy all your needs. Hire the required solver, explain what must be done, and pay to get it started.

Where can I get help with Python programming?

You can find Python programming homework help on the Internet. Open the browser and write an accurate keyword search combination.

It may be something like this – the swiftest or cheapest, or best coding site. Check the results, read customers’ reviews, check the reviews of rating agencies (like ours), compare the conditions, and select the most beneficial option for you.

What kind of guarantees can I expect from Python help services?

If you want to find help with Python projects and you will be treated fairly, you need to know the main guarantees every highly reputed programming site is supposed to ensure. These are as follows:

  • High quality
  • Availability of all skills and assignments
  • An individual approach
  • Full privacy of your data
  • Timely deliveries
  • 100% authentic projects
  • 24/7 access and support
  • Refunds and free revisions

These are the essential guarantees that every legitimate coding site must provide. If some of them lack, it may be better to switch to another option. These guarantees are compulsory, and you should enjoy them all automatically.

  • International
  • Schools directory
  • Resources Jobs Schools directory News Search

Python Worksheet#1 - Getting started

Python Worksheet#1 - Getting started

Subject: Computing

Age range: 11-14

Resource type: Worksheet/Activity

Chrdol72's Shop

Last updated

28 February 2024

  • Share through email
  • Share through twitter
  • Share through linkedin
  • Share through facebook
  • Share through pinterest

python homework tasks

GREAT FOR A COVER LESSON. Suitable for Year 7 to 9 pupils.

Includes practical activities and assessment. Comes with video guidance for the worksheet, which helps with differentiation.

Creative Commons "Sharealike"

Get this resource as part of a bundle and save up to 15%

A bundle is a package of resources grouped together to teach a particular topic, or a series of lessons, in one place.

Python workbook - 5 worksheet bundle

GREAT FOR A COVER LESSON. Suitable for Year 7 to 9 pupils. Includes practical activities and assessment. Comes with video guidance for the worksheet, which helps with differentiation.

Your rating is required to reflect your happiness.

It's good to leave some feedback.

Something went wrong, please try again later.

Brilliant resource, perfect for an intro into Python. Thank You!

Glad it was useful. You are welcome

Empty reply does not make any sense for the end user

Thank you for sharing

You’re welcome

traceyaboswell

With some tweaks was able to use this for a cover lesson for non-specialist teacher. Great workbook!

Thanks for the feedback. Glad it was useful

This is a fantastic resource for beginners. Thank you

Glad it is useful

You are welcome

Report this resource to let us know if it violates our terms and conditions. Our customer service team will review your report and will be in touch.

Not quite what you were looking for? Search by keyword to find the right resource:

Python script that turns homework into tasks in Google Tasks

I wrote a Python script that turns my homework into tasks on Google Tasks. How can I make this script available to anyone? How can I make it run automatically on mobile?

Related Topics

IMAGES

  1. Python Homework Help

    python homework tasks

  2. Python Homework Help by Python Homework Help

    python homework tasks

  3. Do my Python Homework (Get Python Assignment Help)

    python homework tasks

  4. GitHub

    python homework tasks

  5. Programming in Python: Homework 9, Decision tree, solution

    python homework tasks

  6. 1-1 Python Homework/Assignment Help

    python homework tasks

VIDEO

  1. Python Homework #2 (Functions)

  2. Enjoying my Python homework

  3. Year 9 Python Homework

  4. Programming in Python: Homework 3. Encryption

  5. Three Python Homework Programs

  6. Python homework part 1

COMMENTS

  1. Python Exercises, Practice, Challenges

    These free exercises are nothing but Python assignments for the practice where you need to solve different programs and challenges. All exercises are tested on Python 3. Each exercise has 10-20 Questions. The solution is provided for every question. These Python programming exercises are suitable for all Python developers.

  2. Exercises and Solutions

    Beginner Python exercises. Home; Why Practice Python? Why Chilis? Resources for learners; All Exercises. 1: Character Input 2: Odd Or Even 3: List Less Than Ten 4: Divisors 5: List Overlap 6: String Lists 7: List Comprehensions 8: Rock Paper Scissors 9: Guessing Game One 10: List Overlap Comprehensions 11: Check Primality Functions 12: List Ends 13: Fibonacci 14: List Remove Duplicates

  3. Python Exercises, Practice, Solution

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

  4. Python Basic Exercise for Beginners with Solutions

    Also, try to solve Python list Exercise. Exercise 7: Return the count of a given substring from a string. Write a program to find how many times substring "Emma" appears in the given string. Given: str_x = "Emma is good developer. Emma is a writer" Code language: Python (python) Expected Output: Emma appeared 2 times

  5. 10 Python Practice Exercises for Beginners with Solutions

    Exercise 1: User Input and Conditional Statements. Write a program that asks the user for a number then prints the following sentence that number of times: 'I am back to check on my skills!'. If the number is greater than 10, print this sentence instead: 'Python conditions and loops are a piece of cake.'.

  6. Python Exercises

    We have gathered a variety of Python exercises (with answers) for each Python Chapter. Try to solve an exercise by filling in the missing parts of a code. If you're stuck, hit the "Show Answer" button to see what you've done wrong. Count Your Score. You will get 1 point for each correct answer. Your score and total score will always be displayed.

  7. Python Online Practice: 79 Unique Coding Exercises (2023)

    Practice with Free Python Coding Exercises. Click on any of these links to sign up for a free account and dive into interactive online practice exercises where you'll write real code! These exercises are great for beginniners. These are just the tip of the iceberg. We have many more free Python practice problems.

  8. 2,500+ Python Practice Challenges // Edabit

    Return the Sum of Two Numbers. Create a function that takes two numbers as arguments and returns their sum. Examples addition (3, 2) 5 addition (-3, -6) -9 addition (7, 3) 10 Notes Don't forget to return the result. If you get stuck on a challenge, find help in the Resources tab.

  9. Beginner Python Exercises w/ Solutions

    Exercise 1: print () function | (3) : Get your feet wet and have some fun with the universal first step of programming. Exercise 2: Variables | (2) : Practice assigning data to variables with these Python exercises. Exercise 3: Data Types | (4) : Integer (int), string (str) and float are the most basic and fundamental building blocks of data in ...

  10. Solve Python

    Join over 23 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews.

  11. Python Functions Exercise with Solution [10 Programs]

    Exercise 1: Create a function in Python. Exercise 2: Create a function with variable length of arguments. Exercise 3: Return multiple values from a function. Exercise 4: Create a function with a default argument. Exercise 5: Create an inner function to calculate the addition in the following way. Exercise 6: Create a recursive function.

  12. Assignments

    This section provides the homework assignments and projects for the course along with handouts and supporting files. Assignments | A Gentle Introduction to Programming Using Python | Electrical Engineering and Computer Science | MIT OpenCourseWare

  13. 35 Python Programming Exercises and Solutions

    To understand a programming language deeply, you need to practice what you've learned. If you've completed learning the syntax of Python programming language, it is the right time to do some practice programs.

  14. CS50's Introduction to Programming with Python

    An introduction to programming using a language called Python. Learn how to read and write code as well as how to test and "debug" it. Designed for students with or without prior programming experience who'd like to learn Python specifically. Learn about functions, arguments, and return values (oh my!); variables and types; conditionals ...

  15. Python Exercises for Beginners: Build Your Coding Foundation

    Python Basic Level-1 Exercises. Here are the first 5 Python exercises for beginners along with their descriptions and solutions. These are often given to interview candidates to assess their basic Python knowledge. 1. String Reversal. Description: Write a function that accepts a string as input and returns the reversed string.

  16. 101 Pandas Exercises for Data Analysis

    101 python pandas exercises are designed to challenge your logical muscle and to help internalize data manipulation with python's favorite package for data analysis. The questions are of 3 levels of difficulties with L1 being the easiest to L3 being the hardest. 101 Pandas Exercises. Photo by Chester Ho. You might also like to practice … 101 Pandas Exercises for Data Analysis Read More »

  17. Top 10 Python Programming Homework Help Sites

    And particularly in Python. 1. BOOKWORM HUB. Website: BookwormHub.com. BookwormHub is a group of qualified professionals in many scientific areas. The list of their specializations comprises core fields including math, chemistry, biology, statistics, and engineering homework help. However, its primary focus is on the provision of programming ...

  18. 25 Python Projects for Beginners

    Hangman Python Project. In this Kylie Ying tutorial, you will learn how to work with dictionaries, lists, and nested if statements. You will also learn how to work with the string and random Python modules. Countdown Timer Python Project. In this Code With Tomi tutorial, you will learn how to build a countdown timer using the time Python module ...

  19. Best Python Homework Help Websites (Reviewed by Experts)

    best one to "do my Python homework" individually. 9.1. 🏅 CodingAssignments.com. the biggest number of experts to "do my Python assignment". These are the top Python assignment help websites, according to the research of our quality control experts. Let's look at each of them individually, focusing on a unique benefit offered by ...

  20. Ks3 Python Programming Lesson Task Resources

    Really good using it for cover work for an absent teacher, only issues is the phrase IF loops on the second lesson. I have changed to IF statements and WHILE loops

  21. Python Worksheet#1

    Python Worksheet#1 - Getting started. GREAT FOR A COVER LESSON. Suitable for Year 7 to 9 pupils. Includes practical activities and assessment. Comes with video guidance for the worksheet, which helps with differentiation.

  22. Python script that turns homework into tasks in Google Tasks

    I wrote a Python script that turns my homework into tasks on Google Tasks. How can I make this script available to anyone? How can I make it run automatically on mobile?