Exceptions | HackerRank solution in python 3

for _ in range(int(input())):
    a,b=input().split()
    try:
        print(int(a)//int(b))
    except Exception as e:
        print('Error Code: ' + str(e))

Comments

Popular posts from this blog

13 Reasons Why !!!!

Dedicated to you

Guitar Chords of Timilai - JPT ROCKERZ