Python Programming
Exercises-L4-Q2
Write Python code that executes a for loop
that examines every element of the tuple
[“hello”,10;“goodbye”,3;“goodnight”,5]
Within the loop,use an if statement to count
how many of the elements are words. After the
loop completes, print out a message stating how
many words are in the tuple.