Answer:
All the mention codes are correct.
Explanation:
In the task1, a "name" variable is declared, that store a string, and in the next step, the built-in method "title, lower and upper" is defined, in which the title method capitalized the first character of the given word in each sentence, upper method change each character into upper case and the lower method changes each character into lower case.
In task2, a message variable is declared, that holds a string value in which the count method is used that counts the space character value.
In task3, a string value is used in the message variable, which uses a replace method to change the given string value.
In task3, a response variable is declared that uses an input method for input a string value, and inside the print method, len method is used that counts each input character number.