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
- 얕은 복사
- Up Casting
- pycharm
- Inbound
- Python
- 셔뱅
- identityHashCode
- dbeaver
- 판다스
- Aice
- Java
- down casting
- arraycopy
- public static final
- 파이참
- singletone
- ai능력시험
- 넘파이
- Stream
- aice associate
- access modifier
- has-a
- 엔드포인트
- extends
- 파이썬
- 스트림
- 자바
- generic programming
- pandas
- parameter group
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'"
>>>