def educateSingleBackticks(str):
 str = re.sub('`', '&#8216;', str)
 str = re.sub("'", '&#8217;', str)
 return str

def educateSingleBackticks ( str ) : str = re . sub ( '`' , '&#8216;' , str ) str = re . sub ( "'" , '&#8217;' , str ) return str
parameter: string .