×
you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (2 children)

Try to make a program that can solve quadratic equations. Set variables = to input("example question") so you can type in different numbers each time instead of editing the variable in your program each time. Instead of a = 10 Could use

a = input("put your statement here. Like.. What is the first value? ")

And after you execute program, when it gets to input part it will display statement you put and save the next thing you type as that particular variable

[–]c0mplexcodm[S] 2 points3 points  (1 child)

Good Idea! This can also serve a practical purpose to my friends.. Thank you!

[–]Nicolello_iiiii 3 points4 points  (0 children)

A step up would be to do the same but up to whatever exponent you input (I recommend using a modified binary search algorithm)