"Delete a character: Given a string. Remove from this string all the characters @. " - Snakify python coding question



 

CODING QUESTION

Given a string. Remove from this string all the characters @


SOLUTION

s=str(input())
print(s.replace('@',"",s.count('@')))

 

Input : Bilbo.Baggins@bagend.hobbiton.shire.me

Output : Bilbo.Bagginsbagend.hobbiton.shire.me