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