|
|
|
|
Click the following link to download graphics module.
The following code return 1 if the number inputted is odd and returns 0 for even numbers. To run it call in the file.
The following code finds the square of a number.Run it like square(number).
The following code calculates the value added tax of a certain price on a given interest rate.Type in VAT() on the idle screen to run it, it will request price and interest rate.
(You are going to need the graphics module for this program) We were requested to make a program which has some colours and shapes and a drawing area. The following program lets you draw some shapes I only used three shapes and 3 colours but that is just the base you can use any colours you want to use. To see wat the program does, run it in python the firstly you must click on the colour, then shape and click on the white area where you want to draw it.
We were requested to do an algorithm which to sort lists click on the below link to download the file
We were requested to do a file which could return the 3 most common words and 3 least common words in a given filename. Note: The following program needs sort.py to run properly, please download it before you run the following file.
The following code is a code is an expert system which expertises in asthma.
The following book might help you understand python better like it did to me. When you use this book make suer you have a computer in front of you this makes it easier for you to understand.
To learn more about graphics in python click here.
If you do not understand my algorithms feel free to ask me, I will help you as much as I can my email: sthato@hotmail.com or Click here if you are using Microsoft Outlook and I will try to answer you as soon as possible. Remember you can ask me anything you would like to know about Python programming.
bravenet.com