Answer:
The correct option is B: The strip() method on line 1 will strip away the extra whitespace.
Explanation:
If a user enters two extra spaces at the end of a phone number, the code at line 1 will strip away the extra whitespace.
phone_number = input("Enter phone number: ").strip()
The strip() method is a built-in string method of Python that return a copy of the string with the leading and trailing characters removed.
In this case; it removed the two extra spaces entered by the user.