Write a program in Python to calculate the charges for a parcel, taking the weight of the package as input. The
charges are as follows: For the
first 1 Kg, rates are Rs 15.00. For the additional weight (for every 500 gms) rates are Rs.8.00.
Pls help.....
If u will answer fast and correct....I will mark u as brainliest and also follow u....
If u will spam , I will report u....
Class 10 computer
Answers
Answered by
3
Answer:
assuming that weight is expressed in grams
l=int(input("Enter weight of parcel :"))
cost=15
if l==1000:
print("cost of parcel is rupees",cost)
elif l>1000:
print("cost is rupees",cost+8)
MARK AS BRAINILIEST.
Similar questions