Simplified the code with list comprehensions.
Simplified the code with list comprehensions.

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