PdfPrep.com

How should you complete the code?

HOTSPOT

You are writing a Python program to validate employee numbers.

The employee number must have the format ddd-dd-dddd and consist only of numbers and dashes. The program must print True if the format is correct and print False if the format is incorrect.

How should you complete the code? To answer, select the appropriate code segments in the answer area.

Answer:

Exit mobile version