Latest Awards
Complete 10 python programs which focus on loops.

morgan

Score over 100 points in total

vincebanter10

Complete any 5 python programs

vincebanter10

Complete 3 python list based tasks

vincebanter10

Complete 5 python list based tasks

vincebanter10

Complete 10 python list based tasks

dman12

Score over 1000 points in total

april-logan

Complete any pygame task

april-logan

Complete any 3 pygame tasks

april-logan

You have to complete 5 pygame tasks

april-logan

Score over 500 points in total

sam-edmund

Complete any pygame task

sam-edmund

Complete any 3 pygame tasks

sam-edmund

You have to complete 5 pygame tasks

sam-edmund

Complete any pygame task

12wrigleyf

Complete any 3 pygame tasks

12wrigleyf

You have to complete 5 pygame tasks

12wrigleyf

Score over 500 points in total

jhoughton12

Complete any 10 python prograns

jhoughton12

Complete 10 python programs which focus on loops.

jhoughton12

Python Score
tasks = 0
achivements = 0
freestyle = 0
Total = 0
Top 5 Scores
114gilo 3450
2joss-nolan-2 2530
3alexdawkins 2515
4byrnebrian 2080
512wattsl 1750
Click to view all scores
Who else completed this task?
No one has completed this task yet. Be the first!

Strings

In this section you will find tasks based on strings and sting manipulation.

 

Reverse polish notation

Reverse polish notation is a postfix notation for calculations. Instead of writing 1 + 2 we would write 1 2 +. Why? Well RPN does not need brackets to begin with! You can find more information about RPN by following the link below. http://www.calculator.org/rpn.aspx (information about reverse polish)   Your task is to read in a string […]

Splitting a sentance

Write a program which will • Loop over a sentence the sentence “This is a sentence with a few words in” • Starting at the left, look at each letter and store it in a temporary variable. • When you see a space, print out “I have seen the word” followed by the word. • […]

Amazing banner

It would be great to have a banner at the start of your programs which looks like this – ********************************* –Mr Hamflett’s awesome program– ********************************* You are to write a program which, given any input, will display a banner like the one above. It must ensure that their are enough stars! So the following is […]

Fallout hacking

The popular video games Fallout 3 and Fallout: New Vegas has a computer hacking mini game. This game requires the player to correctly guess a password from a list of same length words. Your challenge is to implement this game yourself. The game works like the classic game of Mastermind The player has only 4 guesses and on each incorrect guess the […]

Secret message

Using ord() and chr(), encrypt a sentence using the Caesar cipher. You can find out how it works on the link below – http://en.wikipedia.org/wiki/Caesar_cipher You need to log in or create an account to submit code!  

ASCII table

Read http://en.wikibooks.org/wiki/Non-Programmer’s_Tutorial_for_Python_2.6/Revenge_of_the_Strings http://code.linuxnix.com/2013/11/pfotd-python-ord-function-examples.html http://www.asciitable.com/ Using the above commands, produce the ASCII table from upper case a to lower case Z. The last link above shows the ascii values. When displaying the ASCII table you should show the integer number and the character only. You should also use  a loop. You need to log in or […]

Parallelogram Words

Write a program which will ask as input a word (no more than 7 characters). It will then produce the patterns shown below. These are known as parallelogram words due to the shape they produce. Looking at the word “hello” we would print 4 spaces and a h 3 spaces and then he 2 spaces […]

Number word problem

Given any number, convert it into words. Some examples are shown below – 14 = one four 9 = nine 1052 = one thousand zero hundred fifty two 76 = seventy six In order to do this problem you will want to store the possible permutations into an array. The example code below gives you […]

Linear algebra solver

Algebra is like marmite, you either love it or hate it! However, algebra is very important to computer scientists as we are very used to given variables numbers! Linear equations are equations which are in the form – y =ax + c For example – y = 2x + 1 y = 4x + 7 […]

GNISREVER...REVERSING

Before attempting this problem, you need to have attempted the ‘String Extraction’ example above. … Now that you know how to extract / manipulate strings, try the problem below. Write a program that gets the user to input a string and reverses the string as output You need to log in or create an account […]

A Santa at Nasa

  Write a program that gets the user to input a string and outputs if the string is a palindrome (word that spells the same backwards and forwards) or not. Examples of palindromes Hannah, A Santa at Nasa, Civic, Amore Roma You need to log in or create an account to submit code!

Leave a Reply

You must be logged in to post a comment.