![[Python] 자동 판매기 프로그램](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FliL96%2FbtqGbaQHizY%2FAAAAAAAAAAAAAAAAAAAAABpBLReAFnKELKMNuHo_UkjhkMvE2ydWkDdyV2rUn8-m%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3Dxeg1mlsPxM0r3FU0aLiDgkUzrlo%253D)
물건값과 낸 값을 입력하면 자동으로 거스름동전 개수를 알려주는 프로그램 #기본 입력 product = input("물건값을 입력하시오: "); won1000c = input("1000원 지폐개수: "); won500c = input("500원 동전개수: "); won100c = input("100원 동전개수: "); print("========================"); #개수에 맞는 금액산정 won1000 = int(won1000c)*1000; won500 = int(won500c)*500; won100 = int(won100c)*100; #총액에서 뺀 금액 money = won1000+won500+won100; money = int(money)-int(product); #나머지 구함 retur..
![[Python] 화씨 온도 변환프로그램](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2Fr6bZO%2FbtqGcg3IDle%2FAAAAAAAAAAAAAAAAAAAAAAAvHdWTf4Tfj_a8qeENLyVT-Dk-dnU5oik9BTdOPYbc%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DmDBBtsq55886TXiucPHipsfYLec%253D)
c_num = input("변환하고 싶은 섭씨온도를 입력하세요:" ) print("화씨온도: "+str((int(c_num)*1.8)+32))
![[Python] Anaconda3 설치해서 쥬피터노트북으로 파이썬 사용하기](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FqP652%2FbtqGbbhKlhe%2FAAAAAAAAAAAAAAAAAAAAAMbYpemgenr5V98Dst_ZzYUudzrd8jJwlJ4Z1Dj11v2L%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DlCy02ADuXwsA0lQqo4oGkEMRMjs%253D)
아나콘다란? https://www.anaconda.com/products/individual Anaconda | Individual Edition Anaconda's open-source Individual Edition is the easiest way to perform Python/R data science and machine learning on a single machine. www.anaconda.com 우선 아나콘다 사이트에 들어가 설치를 해줍니다. 그다음 Jupyter Notebook (anaconda3)를 실행하면 dos창에 localhost로 실행이되고 Jupyter사이트가 열려 사용할 수 있게 됩니다. New -> Python 3를 눌러 새 노트북을 열고 사용하면됩니다. 코드를 입력..