Posts

Showing posts from April 14, 2020

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 ))