Python and Running Codes

 For Unit 2 of Coding, we explored Python and how to code programs using it. Basically, Python is a language telling a computer how to run code and programs. For this project, we had to create two different codes. The first program was to be used to make calculations, I chose mine to calculate the hypotenuse of a triangle. Feel free to check out the programs below!



 


My second calculator was a "mad-lib" style letter that someone could use as a template to send to their Alderman.


 




I really enjoyed this project and had fun with it. At first, when I was working on my "calculator," I had trouble programming the code while dealing with integers and letters. After I was able to figure out how to get that program to run properly the letter program was a breeze. 

Comments

Popular Posts