전체 글 (130) 썸네일형 리스트형 [알고리즘] python 데이터 입력받기 1. 한 개의 데이터 입력 1. str : a = input(), int : a= int(input()) 2. import sys n = int(sys.stdin.readline().rstrip()) 2. 다수의 데이터 입력 1. a, b = input().split() a = int(a) b = int(b) 2. a, b =map(int, input().split()) 3. a = list(map ( int, input().split( ))) # 각 data를 list로 저장 [1,2,3] 4. import sys a = sys.stdin.readline().rstrip().split() # 각 data를 list로 저장 ['push','1'] 5. import sys a = list(map(int, .. [Node.js] 인터넷, 모듈, NPM 프로젝트 시작, Callback OT js는 language(java script), run time(web browser과 node js)라고 할 수 있습니다. 즉, js는 언어일뿐이고 js가 web brower와 node js에서 어떤 기능이 있는지 알아야 합니다. 예를 들어 alert는 web browser에서만 사용되고 node js에서는 사용할 수 없다는 것이 있습니다 . Node js 의 장점 기본적으로 v8을 사용하기 때문에 속도가 빠릅니다. event driven과 non-blocking을 사용해 이 특징이 적합할 땐 아주 빨라집니다. js라는 하나의 언어로 client와 server 모두 구현 가능합니다. 인터넷의 동작 방법 1. client와 server 컴퓨터끼리 연결될 때 요청을 보내는 쪽이 client, 요청을 .. 이전 1 ··· 14 15 16 17 다음