Answers for "what is try and expect"

3

try except python

try: #try to do the following
  print("Hi there")
except: #If what is meant to happen in (try) fails, do this.
  print("A error happened with the code above")
Posted by: Guest on September-29-2020

Code answers related to "what is try and expect"

Python Answers by Framework

Browse Popular Code Answers by Language