Loading...
Loading...
Loading...
A store gives free shipping on orders of 500 or more. Otherwise shipping costs 49.
Given the order total, print Free shipping or Shipping: 49.
Free shipping or Shipping: 49.Example 1
Input
750
Output
Free shipping
Example 2
Input
120
Output
Shipping: 49
Try the problem first. Open one hint at a time.
Compare the total with 500.
Print the two different messages in the if and else blocks.
Write your Python code, run it on the examples and submit it to hidden tests.
Solve in the editor