Posts

Final Project: Basic Calculator

Image
Description: I decided to make a simple calculator with functions and a loop for continued use. It includes Addition, Division, Multiplication, and Subtraction. I set it up so the input is like actually typing into a calculator because I thought it would feel better than first picking the numbers or first picking the Operation. This does not really solve anything other than my curiosity I noticed that Python was pretty noticeably different from the code languages that I am used to, and I was wondering not only was a calculation would look like but also how I would go about it and expand on which I never got to. But I was able to do what I set out to do for the most part, so that's cool, I guess. The biggest problem I really ran into was making it feel more calculator-like without having the GUI and experimenting with what felt right. Note: I meant to add a GUI and exponents, but I am in the middle of moving and don't have the time with the other things that I have to do. Github...

Assignment 6

Image
 I couldn't get number one to print no matter what I tried, so I just skipped it and posted the code it kept running indefinitely, so I gave up, which is interesting since this is the first time something came up where I could flat out not figure it out. But other than number one, everything else works really easily, so there are no problems there. GitHub

Week 5

Image
 Hello, This week was a little confusing because I kept getting errors that I didn't know how to fix I also didn't know what I was supposed to get. But I got the main parts of the code down the only problem that I have are figuring out a way to shift the rectangle(I think I might have fixed this ill include both sets of code. But other than figuring out how to move things, this was pretty simple, though seemed a bit overly complicated for what it ended up being. Code and output below:

Week 4

Image
Hello, This week im a bit shorter on time but the only things that tripped me up this week was the formating of for loops other than that I had a pretty easy time figuring things out  

Week 3

Image
     This week was pretty easy once I learned how to add inputs, it was just a bit tedious. Also, I figured for the way that I set up the calculator, I need to parse my variable I am not sure if this is standard for what I was doing, but it is of note everything else was quite straightforward, but nice to learn in python I think this was a good way to introduce a lot of coding topics. Also, learning about  tuples  was interesting in seeing if we do something with them later. I also didn't make these functions,s but It would be really easy to I just think it was cleaner to not as it would have been a lot of extra coding for not that much more results. Though I put the structure for a function in my code Note: On question 3 C, and M came up as errors, so they are commented out.

Week 2 Strings

Image
      Hello, this week was pretty simple, just printed some strings that were provided. I did not have any errors in my code I'm not sure if there was supposed to be. I also added to the string to make what showed up in my terminal cleaner and easily readable screenshots below: Code Terminal

Intro

Image
 This Blog will be documenting my journey through using python to accomplish things surrounding data and the analysis and processing of data. Note: I did not encounter any errors while doing this assignment and downloading python and it's editor the editor that I will be using is VScode