题解 | #自动售卖饮料机#
自动售卖饮料机
http://www.nowcoder.com/practice/a1f001becb0248c1a264c6643d0d640c
print("What kind of drink would you like?")
kind_of_drink = input()
if kind_of_drink == 'cola':
print(f"Below is your {kind_of_drink}. Please check it!")
else:
print(f"The {kind_of_drink} has been sold out!")
kind_of_drink = input()
if kind_of_drink == 'cola':
print(f"Below is your {kind_of_drink}. Please check it!")
else:
print(f"The {kind_of_drink} has been sold out!")