|
发表于 2024-8-21 11:30:03
|
查看全部
# Create the HTML table from the provided data
html_content = """
<table border="1" cellspacing="0" cellpadding="5">
<tr>
<td width="107" align="right">23562</td>
<td width="80" align="right">1531.41</td>
<td width="80" align="right">0.064994907</td>
<td width="80">月租金</td>
<td width="116" align="right">4500</td>
<td width="116" align="right">292.4770817</td>
</tr>
<tr>
<td>个人所得税</td>
<td align="right">94.25</td>
<td align="right">0.004000085</td>
<td>税率</td>
<td align="right">0.064994907</td>
<td align="right">18.00038197</td>
</tr>
<tr>
<td>房产税</td>
<td align="right">1413.72</td>
<td align="right">0.06</td>
<td>税费/月</td>
<td align="right">292.4770817</td>
<td align="right">270</td>
</tr>
<tr>
<td>印花税</td>
<td align="right">11.78</td>
<td align="right">0.000499958</td>
<td>1年税金</td>
<td align="right">3509.724981</td>
<td align="right">2.249809015</td>
</tr>
<tr>
<td>土地使用税</td>
<td align="right">11.66</td>
<td align="right">0.000494865</td>
<td>含税/月</td>
<td align="right">4792.477082</td>
<td align="right">2.226890756</td>
</tr>
<tr>
<td>343</td>
<td>343</td>
<td align="right">0</td>
<td>1年租金</td>
<td align="right">57509.72498</td>
<td>5646</td>
</tr>
</table>
"""
# Save the HTML content to a file
file_path = '/mnt/data/table_output.html'
with open(file_path, 'w', encoding='utf-8') as file:
file.write(html_content)
file_path |
|