MUST UTILIZE CODE IN PYTHON PROGRAMMING WITH THE FOLLOWING INSTRUCTIONS 1. Adhere to the naming conventions discussed
Question:
MUST UTILIZE CODE IN PYTHON PROGRAMMING WITH THE FOLLOWING INSTRUCTIONS
1. Adhere to the naming conventions discussed in class for variable names, program names,
and
function names
2. For the program name first letter of each word uppercase. For example, StringBasics.py
3. Use meaningful names for variables. Do not just use letters.
Eg., use word “payment” instead of just the letter ‘p’
Use “futureValue” instead of FV or fv
4. If there are multiple words in the variable name, use camel case notation
Eg., firstName, shippingCost
5. Include proper comments in the code
6. Display output exactly as mentioned against each problem
7. Use def main() function for all programs
8. Indent the lines of code appropriately
3. Write a program that takes user input describing a playing card in the following shorthand
notation:
Your program should display the full description of the card.
Additional information
a) Use input function to receive user input
b) Display error message if the choice is invalid
Expected output
Enter the card notation: KS
You selected “King of Spaces”
Enter the card notation: 10D
You selected “Ten of Diamonds”
Enter the card notation: 12H
You selection is Invalid