You need the user of a program to enter a customer’s last name. Write a statement that prompts the user to enter this data and assigns the input to a variable.
The following statement is used to prompts the user to enter a customer’s last name and assigns the input to a variable:
customerLastName = input("Enter a customer's last name: ")
Explanation: