open("hello.txt", "w")
# Open a file named "hello.txt" in write mode with open("hello.txt", "w") as file: file.write("Hello, World!")