Tagged: center

Everything tagged "center", newest first.

Coding Practice ·

Python Coding Exercise #61: A Framed Word

A beginner Python exercise on string methods and string multiplication — print a word in the centre of a 30-character frame of asterisks, using center() and a manual version with len() and floor division.

All tags