Cody Bable

Generation

generate functionFri, 21 Apr 2023

add .txt to end of a file name

def add_txt_file_end(filename): return filename + '.txt' add_txt_file_end(filename = 'test')

Questions about programming?Chat with your personal AI assistant