반응형

PROGRAMING/Python 3

Creating simple POS app using python

Python의 Dictionary를 이용해서 간단한 POS 앱을 작성합니다.메뉴는 다음과 같이 구성됩니다. ----------Welcome to the supermarket-------------- 1. 상품조회 View items  2. 상품추가 Add items 3. 상품구매 Purchase items        4. 상품검색 Search items 5. 상품변경 Edit items 6. 나가기 Exit  Python 코드는 다음과 같습니다.items=[]while True: print("----------Welcome to the supermarket--------------") print("1. 상품조회 View items \n2. 상품추가 Add items\n3. 상품구매 Purchase it..

PROGRAMING/Python 2024.06.12
반응형