Python requests library simulation login form data is duplicated, how to submit data

use python requests library to simulate login, the form data is duplicated, how to submit data?

import requests
from bs4 import BeautifulSoup

url = "http://xxxxxxxxxxx/login_slogin.html"
username = input(":")
password = input(":")
headers = {
            "user-agent": "Mozilla / 5.0(Windows NT 10.0; Win64; x64; rv: 61.0) Gecko / 20100101 Firefox / 61.0",
            "Upgrade-Insecure-Requests":"1"
        }

httpSession = requests.Session()
r = httpSession.get(url, headers = headers)
html = httpSession.get(url, headers=headers).text
soup = BeautifulSoup(html, "html.parser")
data = {
    "csrftoken":soup.select("-sharpcsrftoken")[0].get("value"),
    "yhm":username,
    "mm":password,
        }

httpSession.post(url, data=data, headers=headers)
resp = httpSession.get(url, headers=headers)
print(resp.text)

this is the form picture:

:

could you tell me how to submit such form data?

Mar.31,2021

data = [
    ['csrftoken', soup.select('-sharpcsrftoken')[0].get('value')],
    ['yhm', username],
    ['mm', password],
    ['mm', password]
]

httpSession.post(url, data=data, headers=headers)
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-49c640f-111d7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-49c640f-111d7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?