New course! Every coder should learn Generative AI!
Try a free lesson0
Is the following syntax valid? file = open("filename.txt","r") print(file.read()) file.close()
3 Answers
+ 1
yes. It's perfect. Are you facing some issues ?
0
No, thanks.
0
It is very right, Having trouble?