print("Computer Science AP")

 


Haha! I've figured it out, I'm out of the code! Glorious is the day I don't think in 1's and 0's. Now, let us continue exploring the other codes I made!

Our next code was the second proper code I ever wrote, and it is the first code I made for my class Econ. The code's name is CAL and they will help you find your amount due for any loans you may have after a certain amount of time


Our final code is my best one yet! I was not content with my previous mathematical code (sorry CAL) so I decided to make one that was more complicated and more radical. PAYO is my second code for my class, Econ, they will help you find out how long you will be paying off your loans and how much you will pay in total and/or figure out how much you need to pay each year to pay off your loan in a certain amount of years!


Now, You've seen my code run, but do you want to see its bones? First, let's take a look at the introductory code I was in.


This code has some functions that we haven't learned in class, but I am an eager beaver and got ahead of myself and talked to my teacher, Adam, to get the advanced codes. For example, I used the function import time and time.sleep to pause the text from continuing instantly. I use the time function in all of my other codes too! There is also import sys, which allowed for the text in this code to be typed as if it was in "real-time".


TERE, like the previous code, uses the time functions as well as requiring input from the user. There is also the "advanced" code function of "if" and "elif" which just means if a variable equals this do this and if it doesn't do this instead!


CAL also uses the time functions and requires input from the user. There is also the import math function to allow for more complex math to be done in the code.

 

PAYO also uses the time functions and requires input from the user. It also the import math function to allow for more complex math to be done in the code and the "if" "elif" function! There is also the addition of the while function which basically loops the code within it until a variable reaches a certain point!

PHEW! To conclude, I have really really enjoyed taking this class! As you can tell, I even went overboard learning functions that were beyond this unit. I have loved learning about how computers truly work, it always seemed like literal witchcraft, but now I understand the witchcraft! I may even be a witch now... Anyhow, I am so excited to learn more about coding and make more complex coding!

Comments

Popular Posts