Data Science

Unlocking fields with mathematical algorithms. Upon request, data science can be generated for clientele to solve the basis of knowledge or simple structures. Leading to complex process and updated knowledge and understanding.

the.py

while True:
# Input a string
sentence = input(“Eth (or Ctrl+C to quit): “)

# Split the sentence into words
words = sentence.split()

# Create output: "The:" followed by the length of each word
lengths = [str(len(word)) for word in words]

# Print result
print("The:", " ".join(lengths))