f-string
scores = [
{'name':'μμ','score':70},
{'name':'μν¬','score':65},
{'name':'κΈ°μ°¬','score':75},
{'name':'ν¬μ','score':23},
{'name':'μκ²½','score':99},
{'name':'λ―Έμ£Ό','score':100},
{'name':'λ³ν','score':32}
]
for s in scores:
name = s['name']
score = str(s['score'])
print(f'{name}μ μ μλ {score}μ μ
λλ€.')
μμμ μ μλ 70μ μ
λλ€.
μν¬μ μ μλ 65μ μ
λλ€.
κΈ°μ°¬μ μ μλ 75μ μ
λλ€.
ν¬μμ μ μλ 23μ μ
λλ€.
μκ²½μ μ μλ 99μ μ
λλ€.
λ―Έμ£Όμ μ μλ 100μ μ
λλ€.
λ³νμ μ μλ 32μ μ
λλ€.