# take inputs
      length = 2
      width = 5
      # calculate area of rectangle
      area = length * width
      # display result
      print('Area of rectangle = ',area)
      
      Python language logo

      AreaRect

      basicMaths
      beginner

      Calculating the area of a rectangle

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.