Mar-23-2019, 06:54 PM
size_input would be the result of user input
size_input = input('what size beverage (S,M,L)')you are required to then check that the value of size_input is one of (S,M,L), if it is simply just
size = size_inputotherwise
size = 'S'and then
return size