Rearranging ABC ABC 377 Completed

Problem 39 of 50

Easy

lightbulb What to do

You are given a 3-letter string made of uppercase letters. Your task is to check if you can rearrange these letters to form the word 'ABC'.

Key Concepts
if-statements string manipulation comparison
Examples

Input: 'BAC'

Output: Yes

Input: 'AAC'

Output: No

code Python Editor
Loading Python...
Test Results
tips_and_updates 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