def numbers_in_string(text, n=8): a = [] x = 0 while x