Login and get codingWrite a function that accepts a list of
numbersand converts them intondigit integers.Examples:
n_digit_numbers([1, 2, 3], 2) => [10, 20, 30]
n_digit_numbers([8, 9, 10], 2) => [80, 90, 10]
n_digit_numbers([-1.1, 2.22, -3.333], 3) => [-110, 222, -333]Note: Negative numbers should keep their negativity and calling the function with
n < 1should raise aValueError.
              
                152 out of 161 users completed this Bite.
              
              
                Will you be the 153rd person to crack this Bite?
              
              
                Resolution time: ~56 min. (avg. submissions of 5-240 min.)
                
                
              
              
                Our community rates this Bite 6.33 on a 1-10 difficulty scale.
                
                  
                    » Up for a challenge? 💪