def no_of_words_char(str_):
    words_count = len(str_.split(' '))
    chars_count = len(list(str_))
    return words_count, chars_count


def main():
    str_ = 'python is a language'
    words, chars = no_of_words_char(str_)
    print(words)
    print(chars)


if __name__ == '__main__':
    main()

f954e0fd767af5bf64d760874f32c13f9f95abf0
<mask token>

<mask token>


def main():
    str_ = 'python is a language'
    words, chars = no_of_words_char(str_)
    print(words)
    print(chars)


<mask token>

def no_of_words_char(str_):
    words_count = len(str_.split(' '))
    chars_count = len(list(str_))
    return words_count, chars_count


def main():
    str_ = 'python is a language'
    words, chars = no_of_words_char(str_)
    print(words)
    print(chars)


<mask token>

def no_of_words_char(str_):
    words_count = len(str_.split(' '))
    chars_count = len(list(str_))
    return words_count, chars_count


def main():
    str_ = 'python is a language'
    words, chars = no_of_words_char(str_)
    print(words)
    print(chars)


if __name__ == '__main__':
    main()
