Ad
  • Custom User Avatar
  • Custom User Avatar

    You should use the argument of your function n, not create random numbers.

  • Custom User Avatar

    I imported random.
    I set up area_code and prefix to randomly take 3 string digits and line_number to take 4 string digits. I set up return to generate the numbers where they belong.
    I'm getting these errors:
    '(381) 127-4848' should equal '(123) 456-7890'
    '(822) 869-8435' should equal '(111) 111-1111'
    '(769) 704-8103' should equal '(123) 456-7890'
    '(702) 922-2003' should equal '(023) 056-0890'
    '(201) 455-5480' should equal '(000) 000-0000'
    How do I force my random numbers to generate their random numbers?
    I must be missing something.