B.E in Computer Science Engineering, Sathyabama University (Graduated 2017) · 7y ·
- def out_fun():
- return "Hello World"
- output = out_fun()
- file = open("sample.txt","w")
- file.write(output)
- file.close()
- #Copy and paste...will work.
88.6K views ·
View upvotes
· 1 of 7 answers
Something went wrong. Wait a moment and try again.