Traceback (most recent call last): File "example.py", line 3, in <module> print(x.toUpperCase()) ^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'toUpperCase'