





def 			lowerCAmelCase_			(				UpperCamelCase_       ,		UpperCamelCase_	)  ->		int:
       for index, item in enumerate(UpperCamelCase_	):
              if item == target:
                     return index
       return -1




def 			lowerCAmelCase_			(				UpperCamelCase_       ,		UpperCamelCase_       ,		UpperCamelCase_       ,		UpperCamelCase_	)  ->		int:
       if not (0 <= high < len(UpperCamelCase_	) and 0 <= low < len(UpperCamelCase_	)):
              raise Exception("Invalid upper or lower bound!"	)
       if high < low:
              return -1
       if sequence[low] == target:
              return low
       if sequence[high] == target:
              return high
       return rec_linear_search(UpperCamelCase_       ,		low + 1       ,		high - 1       ,		UpperCamelCase_	)


if __name__ == "__main__":
     _UpperCAmelCase										=					input('Enter numbers separated by comma:\n').strip()
     _UpperCAmelCase										=					[int(item.strip()) for item in user_input.split(',')]

     _UpperCAmelCase										=					int(input('Enter a single number to be found in the list:\n').strip())
     _UpperCAmelCase										=					linear_search(sequence, target)
     if result != -1:
          print(f'''linear_search({sequence}, {target}) = {result}''')
     else:
          print(f'''{target} was not found in {sequence}''')





'''simple docstring'''




import requests

try:
				from django.contrib.auth import authenticate, login
				from django.shortcuts import redirect, render
except ImportError:
				__lowercase	:   Dict   		=					print





def 				a_							(    lowercase     )      ->Any:






				'''simple docstring'''

				__lowerCamelCase		:   str           =       "secretKey"
				__lowerCamelCase		:   Optional[Any]           =       "https://www.google.com/recaptcha/api/siteverify"

				# when method is not POST, direct user to login page
				if request.method != "POST":
								return render(lowercase				,    "login.html"     )

				# from the frontend, get username, password, and client_key
				__lowerCamelCase		:   str           =       request.POST.get("username"     )
				__lowerCamelCase		:   Dict           =       request.POST.get("password"     )
				__lowerCamelCase		:   List[str]           =       request.POST.get("g-recaptcha-response"     )

				# post recaptcha response to Google's recaptcha api
				__lowerCamelCase		:   str           =       requests.post(lowercase				,    data={"secret": secret_key, "response": client_key}     )
				# if the recaptcha api verified our keys
				if response.json().get("success"				,    lowercase     ):
								# authenticate the user
								__lowerCamelCase		:   List[Any]           =       authenticate(lowercase				,    username=lowercase				,    password=lowercase     )
								if user_in_database:
												login(lowercase				,    lowercase     )
												return redirect("/your-webpage"     )
				return render(lowercase				,    "login.html"     )





