<human>:  What is a good Python code for using % and? as placeholders sqlite3.
<bot>:*)\%', lambda m: m.group(1), string)

# Enter the string
string = "select * from t1 where? =?"

# Calling the function
print((sql_placeholders(string)))

#Example Output
# select * from t1 where? =?

#Remember to inspect code for bugs.