string = 'hello'

print(string.upper())


"""
string decleared with hello string is the string type object 
coming from the class str(string class)
"""


x = 1

print(x.upper())

"""
Above code will error because x is of type int coming from the 
class int(integer) which does have the method upper in it
"""

"""
Error :  'int' object has no attribute 'upper'
"""