Question: In this problem we will work with strings consisting only of lower case letters. count_QZ implementation First, write a function called count_QZ that takes in

In this problem we will work with strings consisting only of lower case letters.

count_QZ implementation

First, write a function called count_QZ that takes in a string and returns the number of times the letters q and z appear in the string. For example an input of zap would return 1, quartz would return 2, and quizzical would return 3. Sample solution: 12 lines

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!