.split() breaks a sentence into a list of words, and len() counts how many items are in that list. Combine them to count words, then transform the sentence.
Your tasks
Given this starting value:
sentence = "the quick brown fox jumps"
1. Use .split() to break the sentence into a list of words and store it in words
2. Use len() to count the words and store the number in word_count
3. Use .upper() to make the whole sentence uppercase and store it in loud
4. Print word_count, then loud, one per line
Expected output
5
THE QUICK BROWN FOX JUMPS
Constraints
- Use
.split() and len() to get the count — do not hard-code the number
- Use
.upper() for the loud version
- No external libraries