# list = [1, 2, 3, 4, 5, 6, 7, 8]
# print(list[0])
# print("Hello Akshay")
# raise Exception('TimeError', 'Its evening')
# print("Good Morning")

# list = [1, 2, 3, 4, 5, 6, 7, 8]
# print(list[10])

try:
    x = 10 / 10
    list = [1, 2, 3, 4, 5, 6, 7, 8]
    print(list[0])
    print("Hello ")
except ZeroDivisionError:
    print('You have exception in your code')

except IndexError:
    print("You have index error")

print("Hello")

# try:
   

# except:
#     print("Divide by Zero is not allowed")

# finally:
#     print("You are done here")