Question: solve in python 3 # Extend the str class with your own class called Reversestr # -- change the functionality of upper() and Lower() so
solve in python 3
# Extend the str class with your own class called Reversestr # -- change the functionality of upper() and Lower() so that they do the opposite # (Lower makes/returns an upper-case, upper() makes/return an upper-case strin #-- adds a reverse() method that inverts the string (last character first) # -- when you do a int() conversion It should return the Length #--when you do a bool() type conversion it should check the string contains characters in order #(i.e. text[0]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
