I’ve been trying to solve any problems I come across on my own and to get the code up to a functioning condition before calling it ‘done’, but I am interested in getting feedback on how I could have done things differently to make the program more efficient or look better. Can I ask for feedback on Codecademy, or is there another forum aimed more towards improving finished code?

```
'''
Polynomial Secant Line Calculator
Saturday, July 21 2018
'''
from time import sleep
def start_up():
print 'Welcome to u/withdrohngeohn\'s Polynomial Secant Line Calculator\nYou can enter any degree polynomial and find a secant line through two points.'
while True:
exit()
degree = int(raw_input('Enter a number of degrees: '))
term_list = degree_finder(degree)
print 'The function is Y=',
for x in range(degree,-1,-1):
print '+ %dX^%d' % (term_list[x], x),
pt1 = float(raw_input('Enter the 1st X coordinate: '))
pt2 = float(raw_input('Enter the 2nd X coordinate: '))
print line(pt1,pt2,term_list)
def line(pt1,pt2,term_list):
fpt1 = 0
fpt2 = 0
for x in term_list:
fpt1 += term_list[x] * pt1 ** x
fpt2 += term_list[x] * pt2 ** x
slope = (fpt2 - fpt1)/(pt2 - pt1)
yint = -1 * slope * pt1 + fpt1
return 'The secant line is:\nY = %dX + %d' % (slope,yint)
def degree_finder(dgr): # creates a dictionary that stores keys (degree) for values (coefficient)
term_list = {}
if dgr < 0 or type(dgr) is not int:
print 'Wrong type or invalid degree'
whoops()
for x in range(dgr,-1,-1):
term_list[x] = float(raw_input('Enter a coefficient for the %d degree: ' % x))
if type(term_list[x]) is not float:
whoops()
return term_list
def whoops():
print 'Whoops!'
quit()
def exit():
choice = raw_input('Enter Y to continue (otherwise exit): ').upper()
if choice != 'Y':
space = ''
for x in 'SEEYOULATER':
print x + space
space+= ' '
sleep(.5)
quit()
start_up()
```