12 Mar PMCA Sunday 14:00 Python Homework 21.03.07.
Question 1:
Write code to find the number of times a certain character appears in the string. Below is the sample execution of the code.
E.g. inside the string apple, the character p appears 2 times.
Question 2:
Create a Dog class just like we designed the pencil and the Ipad class. Create at least 3 attributes and 3 methods for the Dog class. Also, please create an object out of the Dog class and print all the attributes and call all the method
Sorry, the comment form is closed at this time.