PW Akshay

Generation

generate functionTue, 03 Jan 2023

function filling a full line with = sign according to the output screen without specifying width

def print_line(): "print a line of = sign according to the output screen width" print("=" * shutil.get_terminal_size().columns)

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