delete .

ABC 372

Problem 44 of 50

Easy

What to do

You are given a string that includes lowercase letters and the dot character (.). Your task is to create a new string by removing all the dots from the original string.

Key Concepts

string manipulation input and output loops conditional statements

Examples

Input: '.v.'

Output: v

Input: '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...