题解 | #自动售卖饮料机#

自动售卖饮料机

https://www.nowcoder.com/practice/a1f001becb0248c1a264c6643d0d640c


drink = input()
print("What kind of drink would you like?")
if drink == 'cola':    
    print("Below is your %s. Please check it!"%drink)
else:
    print('The %s has been sold out!'%drink)

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务