Question: 5. 10.0) Write a Python program for the following task. Let the user enter a number with six digits, the program should check the input

5. 10.0) Write a Python program for the following task. Let the user enter a number with six digits, the program should check the input number is six digit or not, if not, stop the program. If it is a six digit number, please get the sum of the digits. If the sum of the digits is in the range of [50, 65), print out 'this number is a lucky number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
