import random
str1 = input("请输入你的名字:")
print("hello!{}".format(str1))
guard = ord(str1[0]) % 100
print("您的幸运数是", random.choice(range(guard)))

import random
str1 = input("请输入你的名字:")
print("hello!{}".format(str1))
guard = ord(str1[0]) % 100
print("您的幸运数是", random.choice(range(guard)))
上一篇 2022-2028年中国航空传感器产业发展动态及市场规模预测报告
下一篇 Python3 安装模块报错:ModuleNotFoundError: No module named ‘setuptools