?????

数学
?????

用户头像
lim:Осенводъ★ 更新于2025-4-18 15:59:22

官网卡出的发送框,我也不知道会发到哪里。。。

【2025春】CMO组合进阶
【2025春】CMO组合进阶
收起
0
1
共2条回复
时间正序
用户头像
bury阿秋
1月前

price = 5600

guess = int(input("请输入你猜测的价格:"))

times = 1

while guess != price and times < 3:

    if guess>price:

        print("猜高了,再猜猜")

    if guess<price:

        print("猜低了,再猜猜")

    guess = int(input("请输入你猜测的价格:"))

if guess==price:

    print("猜对了,你真棒!")

else:

    print("很遗憾,猜错了,游戏结束!")

1条评论
用户头像
bury阿秋
1月前

m=input("开根?")

a=0

b=0

ls=0

while a**2<m:

    a=a+1

    print(a)

a=a-1

b=m-a**2

ls=a+b/a*2

用户头像
bury阿秋
1月前

chuansongf2d772383f21239a69b7e7ba4e96e386626846648.jpg