If you meant print out the mean and variance of the posterior, the recommended way is to use pm.summary like pm.summary(trace), which returns a pandas dataframe that contains the information including mean and standard deviation of the posterior.