Share your repls and programming experiences

← Back to all posts
My first program w/ Python! Factoring Quadratics with a couple easter eggs.
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
ANDREWVOSS
AHuwer1242
Comments
hotnewtop
ANDREWVOSS

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

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.

ANDREWVOSS

@AHuwer1242 It's worth a shot.