






"""simple docstring"""







import requests





def        SCREAMING_SNAKE_CASE       (      lowerCamelCase_ ,     lowerCamelCase_):
					a__          =  {'''Content-Type''': '''application/json'''}
					a__          =  requests.post(lowerCamelCase_ ,     json={'''text''': message_body} ,     headers=lowerCamelCase_)
					if response.status_code != 200:
										a__          =  (
										    '''Request to slack returned an error '''
										    f'{response.status_code}, the response is:\n{response.text}'
										)
										raise ValueError(lowerCamelCase_)


if __name__ == "__main__":
	# Set the slack url to the one provided by Slack when you create the webhook at
	# https://my.slack.com/services/new/incoming-webhook/
	send_slack_message('<YOUR MESSAGE BODY>', '<SLACK CHANNEL URL>')










"""simple docstring"""







def        SCREAMING_SNAKE_CASE       (      lowerCamelCase_):
					assert column_title.isupper()
					a__          =  0
					a__          =  len(lowerCamelCase_) - 1
					a__          =  0

					while index >= 0:
										a__          =  (ord(column_title[index]) - 64) * pow(26 ,     lowerCamelCase_)
										answer += value
										power += 1
										index -= 1

					return answer


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

	testmod()


