Today's topics coverd

1)We have done the revision of yesterday’s topics (OOPS- Inheritance, Polymorphism, Encapsulation, abstraction)
2)Then we learnt about class method and static method with brifly(@classmethod & @staticmethod)
3) We learn differnece between class method and static method
—class method can access and modify the class state
----static method cannot access or modify the class state

4)we done problems on class and static method.
5)WE learned String formatting with example
Then we solved the below mention problem

—>>> Count all letters, digits, and special symbols from a given string
str1 = “P@#yn26at^&i5ve”
—>output
This is Chars = 8
This is Digits = 3
This is Symbol = 4

2 Likes

@gowdaprabhu1997

Thank you for your valuable contribution.

3 Likes