Skip to content
tonic523 edited this page Jul 5, 2022 · 1 revision

입력

import sys

input = sys.stdin.readline

a = input() # 입력

list to String

list = ["a", "b", "c"]

str(list) # [a, b, c]

", ".join(list) # a, b, c

f-string

name = "tonic"

f"내 이름은 {name}이야" # 내 이름은 tonic이야

Clone this wiki locally