



"""simple docstring"""







import json

import requests

from .fetch_github_info import AUTHENTICATED_USER_ENDPOINT, fetch_github_info



def   a_	(			__a      ):

     class       UpperCamelCase  :





          """simple docstring"""






          def __init__(					self :							str	,      _lowerCamelCase :							Optional[int] ):
               assert isinstance(_lowerCamelCase	,      (bytes, str) )
               A__				=   content





          def 						A__  (					self :							Any ):
               return json.loads(self.content )

     def mock_response(*__a		,							**__a      ):
          assert args[0] == AUTHENTICATED_USER_ENDPOINT
          assert "Authorization" in kwargs["headers"]
          assert kwargs["headers"]["Authorization"].startswith('''token '''      )
          assert "Accept" in kwargs["headers"]
          return FakeResponse(b'''{"login":"test","id":1}'''      )

     monkeypatch.setattr(__a		,							'''get'''		,							__a      )
     A__				=   fetch_github_info('''token'''      )
     assert result["login"] == "test"
     assert result["id"] == 1








"""simple docstring"""







def   a_	(			__a      ):
     if not isinstance(__a		,							__a      ):
          raise TypeError('''recursive_lucas_number accepts only integer arguments.'''      )
     if n_th_number == 0:
          return 2
     if n_th_number == 1:
          return 1

     return recursive_lucas_number(n_th_number - 1      ) + recursive_lucas_number(
         n_th_number - 2      )



def   a_	(			__a      ):
     if not isinstance(__a		,							__a      ):
          raise TypeError('''dynamic_lucas_number accepts only integer arguments.'''      )
     A__	,     A__				=   2, 1
     for _ in range(__a      ):
          A__	,     A__				=   b, a + b
     return a


if __name__ == "__main__":
 from doctest import testmod

 testmod()
 __snake_case	:				Dict  					=			int(input('Enter the number of terms in lucas series:\n').strip())
 print('Using recursive function to calculate lucas series:')
 print(' '.join(str(recursive_lucas_number(i)) for i in range(n)))
 print('\nUsing dynamic function to calculate lucas series:')
 print(' '.join(str(dynamic_lucas_number(i)) for i in range(n)))



