Write a Python program that inputs a single character and checks to see if it is a valid uppercase hexadecimal digit representing a value from 10 to 15 (i.e. an uppercase letter between 'A' and 'F' inclusive).
Your program should work as follows:
HEX LETTER if the character is within this range.NOT HEX LETTER if the character is any other character.You should use meaningful variable name(s), correct Python syntax, and proper indentation in your answer.
298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.