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')

Want to kickstart your project?Use the new AI Studio to create your code