Answer to Question #298343 in Python for leana

Question #298343

Draw a flowchart and create a program that check the weight of the users baggage. The standard baggage is 20kg.An additional charge of PHP 200 per kilogram will be incured when it is exceeded. Pls help me


1
Expert's answer
2022-02-16T10:21:48-0500




weight=float(input("Enter the weight of the user baggage: "))
additionalCharge=0
if weight>200:
    additionalCharge=(weight-200)*200
print(f"Additional charge: PHP {additionalCharge}")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS