


'''simple docstring'''




from collections import Counter
from timeit import timeit


def    UpperCAmelCase_  (       A = ""		,	):
   '''simple docstring'''





   return sum(c % 2 for c in Counter(input_str.replace(' '		,	''      ).lower()      ).values()      ) < 2


def    UpperCAmelCase_  (       A = ""      ):
   '''simple docstring'''





   if len(A      ) == 0:
      return True
   _a					:  Any						=  input_str.replace(' '		,	''      ).lower()
   # character_freq_dict: Stores the frequency of every character in the input string
   _a					:  dict[str, int]						=  {}

   for character in lower_case_input_str:
      _a					:  Union[str, Any]						=  character_freq_dict.get(A		,	0      ) + 1
   _a					:  Tuple						=  0

   for character_count in character_freq_dict.values():
      if character_count % 2:
         odd_char += 1
   if odd_char > 1:
      return False
   return True


def    UpperCAmelCase_  (       A = ""      ):
   '''simple docstring'''





   print('\nFor string = '		,	A		,	':'      )
   print(
       '> can_string_be_rearranged_as_palindrome_counter()'		,	'\tans ='		,	can_string_be_rearranged_as_palindrome_counter(A      )		,	'\ttime ='		,	timeit(
           'z.can_string_be_rearranged_as_palindrome_counter(z.check_str)'		,	setup='import __main__ as z'		,	)		,	'seconds'		,	)
   print(
       '> can_string_be_rearranged_as_palindrome()'		,	'\tans ='		,	can_string_be_rearranged_as_palindrome(A      )		,	'\ttime ='		,	timeit(
           'z.can_string_be_rearranged_as_palindrome(z.check_str)'		,	setup='import __main__ as z'		,	)		,	'seconds'		,	)


if __name__ == "__main__":
 UpperCAmelCase_      :		int          =		input(
     "Enter string to determine if it can be rearranged as a palindrome or not: "
 ).strip()
 benchmark(check_str)
 UpperCAmelCase_      :		Tuple          =		can_string_be_rearranged_as_palindrome_counter(check_str)
 print(f'''{check_str} can {"" if status else "not "}be rearranged as a palindrome''')






'''simple docstring'''




import requests
from bsa import BeautifulSoup


def    UpperCAmelCase_  (       A = "https://www.worldometers.info/coronavirus"      ):
   '''simple docstring'''





   _a					:  Union[str, Any]						=  BeautifulSoup(requests.get(A      ).text		,	'html.parser'      )
   _a					:  int						=  soup.findAll('h1'      )
   _a					:  Union[str, Any]						=  soup.findAll('div'		,	{'class': 'maincounter-number'}      )
   keys += soup.findAll('span'		,	{'class': 'panel-title'}      )
   values += soup.findAll('div'		,	{'class': 'number-table-main'}      )
   return {key.text.strip(): value.text.strip() for key, value in zip(A		,	A      )}


if __name__ == "__main__":
 print("\033[1m" + "COVID-19 Status of the World" + "\033[0m\n")
 for key, value in world_covidaa_stats().items():
  print(f'''{key}\n{value}\n''')


