Cool+Python+Code+I+Created

Here is a little bit of code I programmed using Python 3.2.3 It is a simple converter which will convert todays U.S. dollar and tell you how much it would be worth between the years of 1800-1850, I plan on making the converter work for the years 1774 to 2010. The basic way of how this works is, You put in which year you want to compare your money with and then it will ask you for how much money you want to Convert, the program then does an equation which comes up with a number which shows how much your money would be worth in that year. I got my data on the U.S. currency off of this website [] -Grant Zeman

This is using a for loop to solve the problem. This is the same thing using a while loop.

This is another code i created solving number one on the website Project Euler. Project Euler has different questions that they want you to solve by using programming. [] Find the sum of all the multiples of 3 or 5 below 1000. This is the first question of many, I used Python 3.2.3 to solve this question. If you click the file I have attached you can see the process of code I had to go through in order to figure out the sum of all the multiples of 3 or 5 below 1000. I plan on uploading more of these Python codes. I found the answer was 233168 -Grant Zeman

This is another code I created in order to solve number two on Project Euler The question states Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms. [] I had to do a lot of brainstorming before figuring out what my approach would be in order to solve this question. I finally came up with one that you can see if you clicked my file. I was stuck on this for 3 hours and figured out that my answer i had received was off by just TWO, this is because the equation that I used excluded the first 2 in the sequence of numbers. After looking at it for a few hours, I made it output all of the numbers it was coming up with, after studying those numbers I realized that it did not have 2 included, I felt relieved. The final answer was 4613732 -Grant Zeman

Great job Grant! <span style="font-family: Arial,Helvetica,sans-serif;">I want to see this stuff on Monday. <span style="font-family: Arial,Helvetica,sans-serif;">I hear good things about Python. I have not had a chance to try it. So many cool things so little time. <span style="font-family: Arial,Helvetica,sans-serif;">I see you ayou useing if then statements. They are very similar to Lab views case statements. <span style="font-family: Arial,Helvetica,sans-serif;">MIKE BENSON

<span style="font-family: Arial,Helvetica,sans-serif;">I was actually planning to bring a usb drive with my whole python 3.2.3 file and hopefully be able to put it on the laptop as well <span style="font-family: Arial,Helvetica,sans-serif;">-Grant Zeman

<span style="font-family: Arial,Helvetica,sans-serif;">Look out Grant I started learning Python! I plan to work on it at the end of the year for Xmass break. <span style="font-family: Arial,Helvetica,sans-serif;">Which editor were you using the standard interface? <span style="font-family: Arial,Helvetica,sans-serif;">I am using Spider.