计算社安退休金的Python code(2026-01-29更新)

来源: 2026-01-29 22:22:03 [博客] [旧帖] [给我悄悄话] 本文已被阅读:

增加了一些功能

添加了 earnings_extension 参数,允许值目前为 'use_zero' [assume no earned income], 'use_previous' [assume same earned income as before], 'use_ss_earnings_cap' [assume earned income higher than ss taxable cap]

说明见 https://bbs.wenxuecity.com/tzlc/2242795.html

程序见跟贴

下一版计划

1. 让AI帮我把结果放到excel spreadsheet上

2. 让AI帮我计算70岁最高能拿多少