print("Hello, World") == print("Hello" + "World")
==
name = input()
print("Hello, " + name)
literal string interpolation
name = input()
print(f"Hello, {name}")
문법 사용 정의
1. print(f"") : 파이썬은 f 다음에 오는 string 값을 literal string interpolation으로 인지하며,
string 안에 있는 변수들을 실제 값으로 치환.
[ TIL 05. Python - Literal String Interpolation ]
Python은 TAB(space 4)사이즈를 기준으로 모든구분에 사용