Takahashi san 2 ABC 374 Completed

Problem 42 of 50

Easy

lightbulb What to do

You need to check if a given word ends with 'san'. If it does, you will print 'Yes'. If it doesn't, you will print 'No'.

Key Concepts
if-statements string manipulation output
Examples

Input: 'takahashisan'

Output: Yes

Input: 'aokikun'

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