Question: python3 promble, please shows step by step how to come up with the code thanks Write a function in nun which takes in two integers,
Write a function in nun which takes in two integers, and nun kin_nus returns True if us has the digit k and returns False if num does not have the digit ko is considered to have no digits. >>> K_innun(3, 123) True >>> k_in_num(2, 123) True >>> K_in_num(5) 123) False >>> Innum, 0) False Drag from here Construct your solution here, including indents def k_in_num(k, num): print('DEBUG: print('DEBUG:', // 10 2 # return True 1 while if % 10: 5 return false Run Tests Previous Problem Next
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
