Question: in python. Write a program that takes user input describing a playing card (using the shorthand notation below) and prints the longhand description. Requirements -
Write a program that takes user input describing a playing card (using the shorthand notation below) and prints the longhand description. Requirements - The user enters two or three characters, with no spaces. For example, 10H or 3D. - The first character (or first two characters if the card is a ten) is the rank in short-hand and the last character is the suit in short-hand. - The program should work for lower and upper case letters. - If the user enters a non-valid rank or suit then the program displays a special message, e.g., "Invalid Card Entered". - The program should contain at least 2 functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
