Issue 3289:substitute warnings for print statements

Easy issue to fix, solvers.py still had print statements. First pull request on Sympy so I started small.