Hello! I’m a beginner to Python and would like a more solid understanding of the programming language. Does anyone have any suggestions for programs I could try to recreate? My most recent project was an algorithm to solve the quadratic equation.
If you have a thing for math there are any number of geometric formulas you could program in. Finding and listing all the prime numbers between 2 and 1,000 might be another. I assume you have found and worked through some ‘free tutorials’ which introduces one to things like loops, decision making, print statements, etc. etc. etc.
A program for converting measurements from metric to American might be another project.
Have you started learning how to use tkinter yet? Tkinter allows one to make GUI type programs. It also allows one to draw graphs. Text boxes to display things on the screen. Data entry boxes for putting numbers (or text) into the program.
I recently wrote a little program that (using tkinter) puts a graphic of a sphere in the top half of the window then a text box saying “Enter a radius” followed by a data entry box for entering the radius and finally a ‘Solve’ button which then allows the program to compute the surface area and the volume of the sphere and display both. (Data entry checking is a must to keep the program from crashing.)
By the way, did your quadratic equation algorithm give one imaginary numbers for answers where some instructors would want ‘no solution’ for the answer?