GUI CLI 차이점 알기

깃허브 pmj8298 qazwsx3636!

노션 pmj8298@naver.com qazwsx3636

7zip

==================================

윈11 우클릭 명령프롬프트 reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve

taskkill /f /im explorer.exe start explorer.exe

폰트 네이버 D2coding 깃허브 들어가서 다운 후 설치 압축 풀고 d2codingAll로 눌러서 설치하면 된다

alt + shift + 마우스 드래그 : 멀티커서 - 하면 드래그 한번에 된다잉 -> 생산성을 높임

jupyter lab - 명령어치고 tab 치면 자동완성

ctrl+ shift+ d : 같은 글자 선택

ctrl + / : 한줄 주석

window + shift + s : 스크린샷

변수 data = input('아메리카노의 가격을 입력해주세요') or 2500 # 값이 안들어갈때 or 적용 data1 = input('디저트의 가격을 입력해주세요') price = int(data) + int(data1) str0 = '할인 전 가격: ' str1 = '내야할 돈: ' str2 = '할인: ' discount = 0.9 print('='*19) #문자는 *, +가 된다 print(str0, price) print(str1 , (price)*discount) print(str2 , (price)*0.1) print('='*19) print(str0, price) print(str1 , (price)*0.8) print(str2 , (price)*0.2) print('='*19) print(str0, price) print(str1 , (price)*0.7) print(str2 , (price)*0.3) print('='*19)

조건문 if(){} True/False

python은 괄호 쓰지 않고 들여쓰기 : 사용

if 조건: print()

반복문(자동화) for(){}

for x in 리스트: print(x)

<img src="attachment:8d37837d-c951-43f9-ba92-3711024ea244.png" width = 400> 사진 크기 조정

http://210.119.14.56:3000

box = [11,22,33,44,55] -> List(배열) 배열은 차례대로 담겨있음

ex2.pdf