# take input
      num = int(input('Enter the integer number: '))
      # display result
      print('Absolute value of number is =',abs(num))
      
      Python language logo

      absoluteVal

      beginner
      basicMaths

      To find the absolute value of a given number : absolute value of 5 = 5 absolute value of (-5) = 5

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.