Question: Question 3 ( 1 0 pts ) : Use the index ( ) method to get the index of the character in wish that is
Question pts:
Use the index method to get the index of the character in wish that is equal to H Store this index in a variable named idxH
Call count method of string ojbect to find out how many times a appears in wish. Store this number in a variable named howmany
# Just run this cell to create a string named wish.
wish "May your holidays sparkle as much as you do and that friends and family always surround you. Happy holidays!"
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
