# -*- coding: utf-8 -*-
"""
Created on Tue Jul  2 19:16:00 2020

@author: Administrator
"""

#20write a program to open a file using try and expect
try:
  print(x)
except NameError:
  print("Variable x is not defined")
except:
  print("Something else went wrong")
