a guest Oct 16th, 2018 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def display(self,disp):
- dis = ''
- for i in disp:
- dis = dis + str(i)+'*x^'+str(i)
- c = c+1
- dis = dis+'+'+str(i)+'*x^'+str(i)
- dis = dis.replace('+-','-')
- return dis
RAW Paste Data