def tests_for_web3_dz1(): """Тесты задачи 1""" assert web3_dz1.number_glasnik( "Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta." " Proin eget tortor risus. Curabitur non nulla sit amet nisl tempus " "convallis quis ac lectus. Donec rutrum congue leo eget malesuada." ) == ["MALESUADA.", 5]
def runner(): '''Запускает выполненние всех задач''' print(INPUT_1, '>>\n', web3_dz1.number_glasnik(INPUT_1)) print(INPUT_1, '>>\n', web3_dz2.long_word(INPUT_1)) print(INPUT_2, '>>\n', web3_dz3.reversem(INPUT_2)) print(INPUT_5, '>>\n', web3_dz5.psevdosumma(INPUT_5)) print(INPUT_6, '>>\n', web3_dz6.prime_numbers(INPUT_6))