ChamplainTechJournals/python-csi160/week02/Week-2Practice-Problems/part4.py
2025-04-19 23:42:08 -04:00

7 lines
No EOL
187 B
Python

# Read the numbers b and h like this:
base = float(input('Enter Base: '))
height = float(input('Enter Height: '))
# Print the result with print()
area = 0.5 * (base * height)
print(area)