I want to calculate numbers with trys in the Collatz Conjecture in python. I have the collatz conjecture code down, but I want to save the printed result to a .txt file. Does anyone have any tips on how to make this work? I have played around with my dictionary and pandas, but it doesn't really do what I want to do. I have tried to write the answers to a file, but it all shows up on one line and it is not useful. Continue reading...