programming help
i need help doin this
take the user's input and set it equal to some variable so starting with size, size = input("Enter your shirt size: ") then print a statement that includes the size variable print("You ordered a " + size + " shirt.") repeat this logic for the other two things (color and pattern). you can combine the size, color, and pattern variables into the print statement.
actually, it would be a good idea to specify what the choices are in each input statement so size could be size = input("Enter your shirt size. The available sizes are small, medium, large, or extra-large: ") depending on what you've learned so far, if you want to take it a step further, you can set a conditional statement that catches if the user enters anything besides these sizes if size != 'small' or 'medium' or 'large' or 'extra-large': print("That is not an available size.")
thank you so much
Join our real-time social learning platform and learn together with your friends!