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.
![Frutiful functions result](https://openlab.citytech.cuny.edu/a-martinez-eportfolio/files/2015/10/Frutiful-functions-result-300x122.png)
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 graphic](https://openlab.citytech.cuny.edu/a-martinez-eportfolio/files/2015/10/Turtleblast-graphic-300x264.png)
This tutorial taught us about the Date and Time module and how to use strings to display the current date and time. Using what I learned from the previous tutorial on strings typing the code out was very easy.
![Date and time codeacademy](https://openlab.citytech.cuny.edu/a-martinez-eportfolio/files/2015/10/Date-and-time-codeacademy-300x150.png)
This tutorial showed us how to plan a trip by creating a function to calculate the cost of things like hotel, plane ride tickets, and car rental costs. I was able to understand the concept and was able to write my code with no problems.![Taking a vacation python](https://openlab.citytech.cuny.edu/a-martinez-eportfolio/files/2015/10/Taking-a-vacation-python-300x176.png)
A City Tech OpenLab ePortfolio