嗨,我正在尝试创建一个聊天机器人,该机器人要求某个价格点并列出该价格点内的产品。但是我不确定如何做到这一点。谁能帮忙。
price = input(f'do you have a specific price point for {product}s ')
price == int(price)
prices = {
"rockymountianslayer" : int(1000),
"norcostorm" : int(3000),
"yetisb165" : int(11000),
"yetisb100" : int(4070)
}
mountainbikes = ["rockymountianslayer", "norcostorm", "yetisb165", "yetisb100"]
print(f'{mountainbikes}')
我相信这是问题所在。
for prices > price:
mountainbikes.remove()
print (f'{mountainbikes}')
答案 0 :(得分:2)
尝试一下...
application-docker.properties