Question: please use python to write it Problem Jl: Telemarketer or not? Problem Deseription Here at the Concerned Citizens of Commerce (COCL we have noted that

please use python to write it  please use python to write it Problem Jl: Telemarketer or not?

Problem Jl: Telemarketer or not? Problem Deseription Here at the Concerned Citizens of Commerce (COCL we have noted that telemarketers like to use seven-digit phone numbers where the last four digits have three properties. Looking just at the last four digits, these properties are the first of these four digits is an 8 or 9 the last digit is an 8 or9 e the second and third digits are the same. For example, if the last four digits of the telephone number are 8229, 8338, or 9008, these are telemarketer numbers. Write a program to decide if a telephone number is a telemarketer number or not, based on the last four digits. If the number is not a telemarketer number, we should ans wer the phone, and otherwise, we should ignore it. Input Specification The input will be 4 lines where each line contains exacdy one digit in the range from 0 to 9 Output Specification Output either ignore if the number matches the pattem for a telemarketer number; otherwise, output answer Sample Input Output for Sample Input 1 ignore Explanation of Output for Sample Input1 The first digit is 9, the last digit is 8, and the second and third digit are both 6, so this is a telemar- keter number. Sample Input 2 Version franaise sont aprs la version anglaise

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!