Str = str(input('Введите строку: '))
StrLength = len(Str)
WorldLength = len(Str.split())
print(StrLength, end="\n")
print(WorldLength, end="\n")
Str = str(input('Введите строку: '))
StrLength = len(Str)
WorldLength = len(Str.split())
print(StrLength, end="\n")
print(WorldLength, end="\n")