본문 바로가기
메뉴 바로가기
kkuma
sohyun_
글쓰기
관리
태그
방명록
RSS
kkuma
카테고리 메뉴열기
닫기
검색하기
검색하기 폼
검색하기
CATEGORY
분류 전체보기
(66)
Programming
(58)
Python
(18)
Java
(12)
Node.js
(11)
JavaScript
(6)
Vue
(0)
Git
(2)
Other
(9)
Book
(2)
Google Analytics
(2)
Tistory
(1)
Others
(5)
방명록
[Python] 주석처리
# 한줄 주석(Comment) #기호를 이용해 C/C++에서의 // 역할을 한다 print("kkuma") # 한줄 주석은 이렇게 한다 # 여러줄 주석(Block Comment) """ 또는 '''을 이용해 C/C++에서의 /* */ 역할 """ 블럭 코멘트는 여러줄로 남길 수 있다 """ visual studio code에서는 ctrl + / 단축키로 간단하게 주석처리 할 수 있다
Programming/Python
2018. 8. 12. 11:04
[Python] python2와 python3의 차이점
# print가 함수 형태로 변경 (python2) >>>print "Hello","World" Hello World (python3) >>>print("Hello","World") Hello World 또한 인자로 구분자, 끝라인, 출력을 지정할 수도 있다 (python3) >>>print("welcome to", "python", sep="~", end="!", file=sys.stderr) welcome to~python! # long type이 int type으로 통일 (python2) >>>type(2**31) >>>sys.maxint 2147483647 >>>type(sys.maxint) >>>type(sys.maxint + 1) (python3) >>>type(2**31) # int/int ..
Programming/Python
2018. 8. 11. 18:13
이전
1
···
6
7
8
9
다음
이전
다음
최근에 올라온 글
TAG
AWS
Spring
S3
nodejs
Java
스프링
자바스크립트
node.js
파이썬
JavaScript
Python
Amazon
Programming
IT
프로그래밍
more
«
2025/02
»
일
월
화
수
목
금
토
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Total
Today
Yesterday
Blog is powered by
Tistory
/ Designed by
Tistory
티스토리툴바