Amira is writing a program to classify parcels for a delivery courier based on their weight (in kg) and length (in cm).
She has designed a set of rules to categorize the parcels:
| Condition | Output text |
|---|---|
| Weight is 25 kg or more and Length is 120 cm or more | Heavy and oversized package |
| Weight is 25 kg or more or Length is 120 cm or more | Special handling required |
| Weight is less than 5 kg and Length is less than 50 cm | Small parcel discount |
| Any other combination | Standard delivery |
Complete the four missing conditions or structures in the Python code below to implement these rules correctly.
weight = float(input("Enter parcel weight in kg: "))
length = float(input("Enter parcel length in cm: "))
if _________________________________________: # Blank 1
print("Heavy and oversized package")
elif ________________________________________: # Blank 2
print("Special handling required")
elif ________________________________________: # Blank 3
print("Small parcel discount")
_________________: # Blank 4
print("Standard delivery")