Write function RemoveExclamationMarks which removes all exclamation marks from a given string.
def remove_exclamation_marks(s)
s.delete('!')
end
def remove_exclamation_marks(s)
s.gsub(/!/, '')
end
Write function RemoveExclamationMarks which removes all exclamation marks from a given string.
def remove_exclamation_marks(s)
s.delete('!')
end
def remove_exclamation_marks(s)
s.gsub(/!/, '')
end