Question: python code requires a def function write with clarity estion 13 (20 points) ite a fu 1. Lucky, a list of lucky numbers between 2

python code requires a def function write with clarity
estion 13 (20 points) ite a fu 1. Lucky, a list of lucky numbers between 2 and 12, inclusive nction named number_ Luck. The function number_ Luck takes two parameters: 2. unlucky, a list of unlucky numbers between 2 and 12, inclusive y number is either lucky, unlucky or boring (neither lucky nor unlucky). function number Luck should 1. ask the user for a number in the range 2 to 12 (you may assume that the user pr input) 2. print a message echoing the user's number and stating whether it is lucky, unlu return an integer that is the user's number ample, the following would be correct input and output. num -number_luck([7, 11], [2, 3, 12]) . me a number from 2 to 12: 7 Lucky. You win! int(a_num)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
