Full House 2
ABC 386Problem 30 of 50
EasyWhat to do
You have four cards with numbers on them. Your task is to check if you can add one more card to make a special combination called a Full House, which consists of three cards with one number and two cards with another number.
Key Concepts
if-statements
basic condition checking
input and output
data handling
Examples
Input:
[7, 7, 7, 1]
Output:
Yes
Input:
[13, 12, 11, 10]
Output:
No
Tips for Beginners
- Focus on understanding the logic, not memorizing syntax
- Use print statements to debug your code
- Don't worry about input parsing - the function handles that for you
- If stuck, try writing out your solution on paper first
Python Editor
Loading Python...