Example chech pswrd

Write a function named check(pswrd) which return True if the incoming password ends with at least 2 upper case letters.

Chech this function with user input and display the result to the user?

Can you help me?