Fix printing in doctests for python 3
Fix printing in doctests for python 3

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