Use of comments in Python It is said that comments tell you why and your code tells you how. When you code, you are telling your computer what to do using just instructions. It is not a human that needs to know the actual reasons why it works but you do have to keep your […]
Check out my code here!
I just completed the ECOS evaluation available at MiTec. As a former Prepa Tec student I can tell you that we were forced (as in, you couldn’t leave the computer lab until you finished kind of forced) to complete these evaluations so it is kind of baffling to me that they aren’t compulsory, specially at […]
This was kind of hard to do the right way. I tried to ask the user for numbers separately and then do calculations with all of these as variables before realising it was kind of wrong so I read the List chapter and understood how to use loops for it. In this way, my code […]
So this is simple factorial calculator, it was kind of easy to do. This is factorialcalc.py in action!
In this WSQ I have fun with numbers, again! I’m sure my code can be optimized but I tried to write it as clean i.e. readable, as possible. So yeah, all I did was print some options for the user and ask for two numbers to work with. Finally, I created some functions so they are […]
This is my code!
This is my code!
You can see my code here.
This is my code in action!