class str_mod:
def get_string(self):
self.str=input("Enter Your Name: ")
def put_string(self):
print(self.str.upper())
obj1=str_mod()
obj1.get_string()
obj1.put_string()
0 Comments