Python Taskbook Level 3.7

Задание 1

Given a string, capitalize the last letter of each word in this string.

Задание 2

Given a string, check that this string consists of only even digits.

Задание 3

Two lines are given:

pythontxt1 = '12345'
txt2 = '45678'

Get characters that are in both lines:

python'45'
Задание 4

Given a string:

python'a bc def ghij'

Convert all substrings with less than or equal to three letters to uppercase. In our case, we should get the following:

python'A BC DEF ghij'