Unify print and variable naming style in examples