Submission
# | When | Author | Problem | Language | CPU | Memory | |
---|---|---|---|---|---|---|---|
19815 | 2024-05-05 13:07:27 | rifat414141 | Rectangle Area | Python 3 | 14 ms | 8660 kb | Runtime Error - 1 |
Source Code
def main(): # Read height and width from user input as floats height = float(input()) width = float(input()) # Calculate area of the rectangle area = height * width # Print the area print(area) if __name__ == "__main__": main()