Skip to content
Sign upLog in
← Back to Community

My first program w/ Python! Factoring Quadratics with a couple easter eggs.

Profile icon
AHuwer1242

Just wanted to share my program that factors quadratics when possible and otherwise solves for the roots of the function with the quadratic formula. It isn't 100% finished, as fractions don't work yet, but I'm really proud of my first work.

And for the easter eggs, they're in the first big section of code if you want to check.

If you find any errors or have any tips for me let me know! I want to improve this however I can.

Voters
Profile icon
ANDREWVOSS
Profile icon
AHuwer1242
Comments
hotnewtop
Profile icon
ANDREWVOSS

This is pretty cool. You should try implementing more advanced formulas in the future, it could be fun.

Profile icon
AHuwer1242

@ANDREWVOSS
Thanks! I'll probably try something soon. I want to try to code the quartic formula for anyone to use, but if you've seen it it's like 4 full computer screens of math, so I'm not sure if I'll be able to. Probably worth a shot once I get better at coding though.

Profile icon
ANDREWVOSS

@AHuwer1242
It's worth a shot.