PW Akshay

Generation

generate functionTue, 03 Jan 2023

function for printing centralized words

def print_center(word): print ' ' * ((80 - len(word))/2) + word print_center('Test')

Questions about programming?Chat with your personal AI assistant