generate functionTue, 03 Jan 2023
function for printing centralized words
def print_centralized(word): word_length = len(word) + 4 print("*" * word_length) print("*" + word + "*") print("*" * word_length) print_centralized("python")
Python
Generate More