
"""simple docstring"""



def 					lowerCamelCase   (     _snake_case ):
    if not isinstance(_snake_case    ,_snake_case ):
        raise ValueError('Input must be an integer' )
    if input_num <= 0:
        raise ValueError('Input must be positive' )
    return sum(
        divisor for divisor in range(1    ,input_num // 2 + 1 ) if input_num % divisor == 0 )


if __name__ == "__main__":
    import doctest

    doctest.testmod()





'''simple docstring'''



from collections import namedtuple

import requests
from lxml import html  # type: ignore

A__						:   Tuple				=    namedtuple("""covid_data""", """cases deaths recovered""")



def      UpperCAmelCase__   (      UpperCAmelCase_       :							str = "https://www.worldometers.info/coronavirus/"				)	->						covid_data:
     __lowerCamelCase  :      Union[str, Any]														=						'//div[@class = "maincounter-number"]/span/text()'
     return covid_data(*html.fromstring(requests.get(UpperCAmelCase_				).content				).xpath(UpperCAmelCase_				)				)


A__						:   str				=    """Total COVID-19 cases in the world: {}
Total deaths due to COVID-19 in the world: {}
Total COVID-19 patients recovered in the world: {}"""

print(fmt.format(*covid_stats()))






