У коді модуля можемо знайти перелік функцій: import string # capitalize() – Converts the first character to upper case # casefold() – Converts string into lower case # center() – Returns a centered string # count() – Returns the number of times a specified value occurs in a string # encode() – Returns an encoded…