# take inputs
      num1 = int(input())
      num2 = int(input())
      num3 = int(input())
      # find largest numbers
      if (num1 >= num2) and (num1 >= num3):
          largest = num1
      elif (num2 >= num1) and (num2 >= num3):
          largest = num2
      else:
          largest = num3
      # display result
      print('The largest number = ', largest)
      
      Python language logo

      Largest number

      logic
      playingWithNumbers

      Python Program to Find Largest of 3 Numbers

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.