根据输入的数值,生成对应数量的星号

gj_star = '' * gj fy_star = '' * fy wl_star = '' * wl tz_star = '' * tz sd_star = '' * sd zl_star = '' * zl

输出效果图

print("攻击", gj) print(gj_star) print("防御", fy) print(fy_star) print("武力", wl) print(wl_star) print("统治", tz) print(tz_star) print("速度", sd) print(sd_star) print("智力", zl) print(zl_star)


原文地址: https://www.cveoy.top/t/topic/8oq 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录