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

自动售卖饮料机

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

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

相关推荐

评论
点赞
收藏
分享

创作者周榜

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