<__main__.myClass object at 0x000001CCDC46BD90> instead of expected string output

Write a Python class which has two methods get_String and print_String. get_String should accept a string from the user and print_String should print the string in upper case. My Code: class myClass(): def __init__(self, userInput = input("What is your name? ")): self.userInput = userInput def get_string(userInput): return userInput def print_string(userInput): output = userInput.upper() return output… Read More <__main__.myClass object at 0x000001CCDC46BD90> instead of expected string output