Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

What is the correct way to get the exception as variable in except statement?

A) except Exception<e>:
C is correct in Python 2, D is correct in Python 3, and Python 2.6 and 2.7 accepts both.
D) except Exception as e:
B) except (Exception, e):
C) except Exception, e:
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon