Small changes to polys/densebasic.py
Small changes to polys/densebasic.py

Take advantage of unused variables and reformat logic to read better.

yashsharan/sympy,souravsingh/sympy,Shaswat27/sympy,skidzo/sympy,aktech/sympy,yukoba/sympy,liangjiaxing/sympy,jamesblunt/sympy,kevalds51/sympy,AunShiLord/sympy,grevutiu-gabriel/sympy,ChristinaZografou/sympy,souravsingh/sympy,farhaanbukhsh/sympy,saurabhjn76/sympy,pandeyadarsh/sympy,jerli/sympy,rahuldan/sympy,MridulS/sympy,sahilshekhawat/sympy,farhaanbukhsh/sympy,meghana1995/sympy,shikil/sympy,Curious72/sympy,dqnykamp/sympy,hrashk/sympy,VaibhavAgarwalVA/sympy,shikil/sympy,yashsharan/sympy,AkademieOlympia/sympy,kaushik94/sympy,abhiii5459/sympy,cccfran/sympy,yukoba/sympy,aktech/sympy,grevutiu-gabriel/sympy,Shaswat27/sympy,sunny94/temp,bukzor/sympy,sampadsaha5/sympy,oliverlee/sympy,shikil/sympy,Titan-C/sympy,shipci/sympy,amitjamadagni/sympy,sunny94/temp,MechCoder/sympy,kaichogami/sympy,pbrady/sympy,AunShiLord/sympy,hrashk/sympy,jbbskinny/sympy,rahuldan/sympy,moble/sympy,ChristinaZografou/sympy,moble/sympy,cswiercz/sympy,ga7g08/sympy,kmacinnis/sympy,postvakje/sympy,beni55/sympy,madan96/sympy,skirpichev/omg,hargup/sympy,bukzor/sympy,Davidjohnwilson/sympy,Vishluck/sympy,dqnykamp/sympy,mafiya69/sympy,oliverlee/sympy,Vishluck/sympy,lidavidm/sympy,aktech/sympy,cswiercz/sympy,ga7g08/sympy,Mitchkoens/sympy,mafiya69/sympy,pbrady/sympy,wanglongqi/sympy,chaffra/sympy,Designist/sympy,mcdaniel67/sympy,lindsayad/sympy,wyom/sympy,iamutkarshtiwari/sympy,kumarkrishna/sympy,jaimahajan1997/sympy,hargup/sympy,grevutiu-gabriel/sympy,Sumith1896/sympy,Gadal/sympy,atsao72/sympy,atreyv/sympy,bukzor/sympy,atreyv/sympy,Arafatk/sympy,oliverlee/sympy,kmacinnis/sympy,MechCoder/sympy,AkademieOlympia/sympy,iamutkarshtiwari/sympy,madan96/sympy,kaushik94/sympy,kaushik94/sympy,liangjiaxing/sympy,yashsharan/sympy,sahilshekhawat/sympy,lindsayad/sympy,Shaswat27/sympy,cswiercz/sympy,madan96/sympy,sampadsaha5/sympy,mcdaniel67/sympy,drufat/sympy,Mitchkoens/sympy,skidzo/sympy,Sumith1896/sympy,hrashk/sympy,asm666/sympy,kaichogami/sympy,skidzo/sympy,mcdaniel67/sympy,abloomston/sympy,AunShiLord/sympy,wyom/sympy,MridulS/sympy,pbrady/sympy,emon10005/sympy,moble/sympy,dqnykamp/sympy,atreyv/sympy,Arafatk/sympy,ChristinaZografou/sympy,farhaanbukhsh/sympy,garvitr/sympy,Gadal/sympy,iamutkarshtiwari/sympy,vipulroxx/sympy,jamesblunt/sympy,AkademieOlympia/sympy,toolforger/sympy,saurabhjn76/sympy,maniteja123/sympy,lidavidm/sympy,sampadsaha5/sympy,maniteja123/sympy,saurabhjn76/sympy,ahhda/sympy,emon10005/sympy,lindsayad/sympy,ahhda/sympy,Gadal/sympy,drufat/sympy,asm666/sympy,Arafatk/sympy,ga7g08/sympy,beni55/sympy,kevalds51/sympy,Curious72/sympy,Designist/sympy,Titan-C/sympy,sahmed95/sympy,kaichogami/sympy,kmacinnis/sympy,lidavidm/sympy,MechCoder/sympy,Mitchkoens/sympy,MridulS/sympy,wanglongqi/sympy,shipci/sympy,jamesblunt/sympy,pandeyadarsh/sympy,wanglongqi/sympy,kumarkrishna/sympy,atsao72/sympy,kevalds51/sympy,abloomston/sympy,abhiii5459/sympy,abloomston/sympy,cccfran/sympy,toolforger/sympy,vipulroxx/sympy,postvakje/sympy,chaffra/sympy,pandeyadarsh/sympy,debugger22/sympy,vipulroxx/sympy,hargup/sympy,jerli/sympy,VaibhavAgarwalVA/sympy,souravsingh/sympy,atsao72/sympy,diofant/diofant,Curious72/sympy,Titan-C/sympy,meghana1995/sympy,Davidjohnwilson/sympy,rahuldan/sympy,liangjiaxing/sympy,Sumith1896/sympy,beni55/sympy,mafiya69/sympy,yukoba/sympy,Davidjohnwilson/sympy,kumarkrishna/sympy,sunny94/temp,garvitr/sympy,asm666/sympy,Vishluck/sympy,ahhda/sympy,sahmed95/sympy,jbbskinny/sympy,abhiii5459/sympy,cccfran/sympy,Designist/sympy,sahilshekhawat/sympy,jaimahajan1997/sympy,meghana1995/sympy,garvitr/sympy,emon10005/sympy,toolforger/sympy,sahmed95/sympy,jaimahajan1997/sympy,postvakje/sympy,shipci/sympy,debugger22/sympy,wyom/sympy,jbbskinny/sympy,VaibhavAgarwalVA/sympy,maniteja123/sympy,chaffra/sympy,amitjamadagni/sympy,drufat/sympy,jerli/sympy,debugger22/sympy