# first number
      num1 = int(input())
      # second number
      num2 = int(input())
      # num1 is greater than num2
      if num1 > num2:
          diff = num1 - num2
      # num1 is less than num2
      else:
          diff = num2 - num1
      # print difference value
      print('The difference between numbers =', diff)
      
      Python language logo

      Number Difference

      0

      0

      avatar
      Mahendra Kumar
      beginner
      logic

      Finding the difference between two number

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.