A case study of python practice method
This article introduces the relevant knowledge of "case study of python practice method". In the course of the operation of the actual case, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Task 1, my coffee shop you are the main tuple coffee_name= ('Blue Mountain', 'cappuccino', 'latte', 'Royal Coffee', 'Queen Coffee', 'Beauty and sadness') print ('Hello! Welcome to Xiao Jia's coffee shop') print (') for index,item in enumerate (coffee_name): print (index+1,'.',item,end='') index=int (input ('\ nPlease enter your favorite coffee number:') if 0