Could you tell me where I\'m going wrong with my current way of thinking? This is my function:
def replace_line(file_name, line_num, text): lines = open(f&q