[Solved] How do you save the inputs into text file? [closed]
Your question seems to have two main parts to it: how do I get inputs in Python and how do I save data to a file in Python. To get input from the terminal: >>> data = input(‘Input: ‘) >>> Input: hello, world! To save to a file: >>> with open(‘output.txt’, ‘w’) as f: >>> … Read more