Generation

generate functionTue, 29 Nov 2022

replace all instances of a character in a string with a space

def remove_char(s, c): return s.replace(c, '')

Want to kickstart your project?Use the new AI Studio to create your code