Delete a character. Given a string, remove all occurrences of the character ‘@’.
Test Case | Input (String) | Expected Output |
---|---|---|
1 | hello@world | helloworld |
2 | @python@is@awesome@ | pythonisawesome |
3 | email@example.com | emailexample.com |
Python, Java
Delete a character. Given a string, remove all occurrences of the character ‘@’.
Test Case | Input (String) | Expected Output |
---|---|---|
1 | hello@world | helloworld |
2 | @python@is@awesome@ | pythonisawesome |
3 | email@example.com | emailexample.com |