Question: Question: Write application using PyQt. The user is prompted for the name of an animal rescue service. This must be displayed in the UI in

Question:

Write application using PyQt. The user is prompted for the name of an animal rescue service. This must be displayed in the UI in capital letters. The user is then required to enter a character (letter). This must also be displayed on the UI in capital letters. The application must read the name of the animal rescue service as well as the character and then count the number of occurrences of the character in the animal rescue service name. The count must be displayed. Required: Screenshot of the Animalxxxxxxxx.py program. Ensure that the screenshot shows your file name that includes your student number!

Screenshot of output.

Screen shot of the object inspector (all components named).

Code: Input.

Code: Result.

Comments (at least 3)

Error message for incorrect input from user (e.g. no name of animal rescue service).

Error message of character not found or the character is blank!

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 Programming Questions!