He thinks there is a demon hiding innit thus, he runs and calls his mom. His mom says "Jimmy there's nothing in that pilow young man!" Jimmy walks back to his room scared if its still there. He hops into bed hoping that he can get a good nights rest. The next day, Jimmy asks if he can go buy another pillow. His mom says "As long as it makes you feel safe then ok." Young Jimmy, jumping in excitement, goes to the checkout zone to buy his new pillow. When they get home, Jimmy and his mom eat dinner and then head for bed. Jimmy hops into bed and knows that everything will be ok. The end.
Answer:
vowels = 0
consonants = 0
string = input("Enter string: ")
for x in string:
if x.isalpha():
if x in "AEIOU":
vowels += 1
else:
consonants += 1
print("Vowels =",vowels)
print("Consonants =",consonants)
Explanation:
All of the above is the answer
<span>A nested IF function is one in which the action to be taken for the true or false case includes yet another if function.
</span>Nested function is a function which is defined within another function, in this case it is defined within the IF function, which <span>returns one value if a certain predefined condition is true and another value if the condition is false. </span>