Screen Shot 2015-03-18 at 11.34.55 PM

 

We first use datetime to print the date and time in a nice format. we then create a variable called ‘now’ and store the result of datetime.now() in it. we then print the value of ‘now’. we extract each information month, day, year by printing each of them. we finally combined the nice format of the time and date.

Posted in Uncategorized | Leave a comment

lab 1 description

Screen Shot 2015-02-23 at 9.16.19 PMScreen Shot 2015-02-23 at 9.16.28 PM

The objective was to run python on Codecademy.com and complete python syntax in which tip calculator was part of the exercise. We do what is instructed on the left panel. First we declare the variable (meal) and assign it’s value (44.50). Next step is to create the variable (Tax) 6.75% and set it equal to the decimal value which is 0.0675. We then proceed and create the variable (Tip) to decimal value of 15% in which is 0.15. Then it instruct us to reassign the variable (meal) to the value of its self (44.50 + 44.50 and multiply by the tax 0.0675). Finally now that (meal) has the cost of the food and tax we assign a new variable (Total) = (meal + meal) * (tip). The result was 54.63.

Posted in Uncategorized | Tagged , | Leave a comment

Welcome!

This is the first post on your Learning Blog. Edit or delete it, then start blogging!

The ePortfolio is both a Learning Blog and an Academic Career Portfolio. Use the Learning Blog to document your learning experiences and class assignments each semester.Ā As time goes by, add content to the Academics and Career sections to show your department, graduate institutions, orĀ future employers how well prepared you are for your chosen career.

NOTE: Remember to add appropriateĀ CategoriesĀ and TagsĀ to your posts. This will help your professors and other visitors find the content they are looking for. The Categories “Coursework” and “Field Trips” and the Tags “OpenLab” and “City Tech” have already been applied to this post. Feel free to make changes!

Posted in Coursework, Field Trips | Tagged , | Leave a comment