Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 |
30 | 31 |
Tags
- shebang
- constructor
- 파이참
- Stream
- Up Casting
- 엔드포인트
- pycharm
- access modifier
- 얕은 복사
- lambda
- has-a
- 깊은 복사
- extends
- parameter group
- generic programming
- 내부클래스
- Java
- Inbound
- finalize
- 스트림
- identityHashCode
- node.js
- 셔뱅
- arraycopy
- 자바
- Wrapper class
- singletone
- dbeaver
- public static final
- down casting
Archives
- Today
- Total
٩(๑•̀o•́๑)و
String 본문
>>> sayHello = 'hello world'
>>> print(sayHello)
hello world
>>> sayHello = "hello world!"
>>> print(sayHello)
hello world!
>>> sayHello = '''
... hello,
... world!
... '''
>>> print(sayHello)
hello,
world!
>>> sayHello = """
... hello,
... world!
... """
>>> print(sayHello)
hello,
world!
>>> sayHello
'\nhello,\nworld!\n'
>>>
>>> hello = 'he said "hello"'
>>> print(hello)
he said "hello"
>>> this = "This is 'A'"
>>> print(this)
This is 'A'
>>> str = 'This is \'A\''
>>> print(str)
This is 'A'
>>> str = "\"Hello World\""
>>> print(str)
"Hello World"
>>>
>>> What = """
... "This is 'A'"
... """
>>> print(What)
"This is 'A'"
>>>