delete .

ABC 372

Problem 44 of 50

Easy

What to do

Remove all dot characters ('.') from the input string and return the result. Only dots are removed; all other characters stay. For example, '.v.' → 'v'.

Key Concepts

string manipulation input and output loops conditional statements

Examples

Input: s = '.v.'

Output: v

Input: s = 'chokudai'

Output: chokudai

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...