I want to print the result output to the file without overwrite by import module (the def main function contains asking user input and calculation). But after I run the imp