Category Archives: Uncategorized

Fruitful functions

In this lab we had to create function that would test Fermat’s Last Theorem. The first part was easy for me because of all the practice I got from Code Academy. But I had trouble writing the code for the second part, where you had to let the user pick their numbers using the raw inputs. I was able to understand it after getting help from the professor and classmates.

fruitful functions code Frutiful functions result

Turtle Blast

In this lab we used the Turtle module and Random module to create a turtle blast on Python Turtle Graphics. At first I had no idea how to start the code. But after asking my other classmates I quickly understood how to write the code.

turtleblast code Turtleblast graphic