i dont know what should i do any idea whats the issue?
The issue is that you didn't read the documentation.
It happen the programming languages are no plain english, you need to learn how to express what you want to do.
This is not Python:
if question == str( 'Yes' or 'yes'):
print(a.upper())
You have to transform to:
if question == 'Yes' or question == 'yes':
print(a.upper())