[Python] 문자열 (String)
·
Python
쌍따옴표(" ") 또는 홑따옴표(' ') 사용a="\nHello World"b='Python is fun'c="""Life is too short, You need python"""d='''Life is too short, You need python'''print(a)print(b)print(c)print(d)Hello WorldPython is funLife is too short, You need pythonLife is too short, You need python 이스케이프 시퀀스\n : 줄바꿈\' : '\" : "food = "Python's favorite \nfood is perl"say = '"Python is very easy." he says.'f =..