Powered By Blogger

Wednesday, August 31, 2011

I am ending the pig latin program

I spent 30 minuits at pycamp today
The sentence split is very difficult to use with the translater.

Tuesday, August 30, 2011

two programs in one

I spent 1 hour at pycamp today
I created a program that counts down from 10 to 1 with timing in between using a while loop.
I also created a function that takes any given number and multyplies it by a randome number

Monday, August 29, 2011

almost the end of the pig latin program urrayhay

today I spent 1 hour a pycamp
the split method is very useful when you need to turn a sentence into a list of separate words.
here is an example: sentence.split(' ')

commenting is very useful when you know that when you wil come back through your program you will know what a certain part dose.

the return command at the end of a defined function is used to give out the product of that function.

a flow chart is very important to use when you dont exactly know in what order you should do things.

Thursday, August 25, 2011

fermi pico bagles

I spent 1 hour at pycamp today,
I found out how to name a single letter in a word,
for my pig latin game.

Wednesday, August 24, 2011

pig latin

today I spent 1 hour at pycamp
I learned that python has a database of many many methods that can be used.
I am also learning about lists.
I am trying to solve the problem of not being able to cut individual items of a list into seperate pieces. for example take the word 'apple' and cut it up into 5 pieces the list that would show this 'cut up' apple wold look something like this word['a','p','p','l','e',]. I need this because I'm making a piglatin translator.

Tuesday, August 23, 2011

AI algorithems

I spant 1 hour today at pycamp
I leared that an ai can follow a set of rules to be able to win a tic tac toe game