runtime
17 / 500
question 17 Variables & Data Types · medium

Store the name once

This label printer types the customer's name into every line, so changing the customer means editing three lines. Store the name once, in customer, and make every line use it. The output must stay exactly the same.

First linecustomer = "Grace Walker". Check runs your program again with another customer
Printsthe same three lines as the starter
Expected output3 lines
  1. 1Ship to: Grace Walker
  2. 2Gift message for Grace Walker
  3. 3Signed for by Grace Walker

Loading your progress…

Store the name once — Python practice · Runtime