import pymysql
connection = pymysql.connect(host = 'localhost', user = 'root', password = 'root', db = 'date_of_users')
cursor = connection.cursor()
sog = 'matua'
cursor.execute(f"INSERT INTO dateuser (login) VALUES ({sog})")
test = cursor.execute("SELECT * FROM dateuser")
connection.close()