File Operation

What is the output of this program? import sys sys.stdout.write('Hello') sys.stdout.write('Python')
What is the output of following code? fo = open('temp.txt', 'r') print(fo.closed) fo.close() print(fo.closed)
What is the output of following code? number = 5.0 try: r = 10/number print(r) except: print('Error Occurred')
Which of the following functions can be used to check if a file 'Logo' exists?
Which of the following functions displays a file dialog for saving a file?