๋ฐ์ํ
250x250
Notice
Recent Posts
Recent Comments
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
Tags
- tableau
- ์๋ฐ์คํฌ๋ฆฝํธ
- DFS
- AWS
- ์๋ง์กด์น์๋น์ค
- ๊นํ๋ธ
- sap
- react
- ๋ฐ์ดํฐ ๋ถ์
- ๋ฐ์ดํฐ๋ถ์
- nlp
- ๋ฐฑ์ค
- ์๊ณ ๋ฆฌ์ฆ
- ํ๋ธ๋ก
- ๋ฆฌ์กํธ
- ํ ์คํธ๋ถ์
- ์ฝํ
- AI
- erp
- ์์ฐ์ด์ฒ๋ฆฌ
- ๋น ๋ฐ์ดํฐ
- Git
- github
- ๋ฅ๋ฌ๋
- ํ๋ธ๋ฃจ
- ์ธ๊ณต์ง๋ฅ
- ์ฝ๋ฉํ ์คํธ
- ํ ์คํธ๋ง์ด๋
- abap
- ํ์ด์ฌ
Archives
- Today
- Total
๋ชฉ๋กํ์ด์ฌ %ํฌ๋งทํ (1)
Hey Tech
[ํ์ด์ฌ] f-string ๋ฌธ๋ฒ์ ๋ํด ์์๋ณด์!
์๋ ํ์ธ์, ์ค๋์ ํ์ด์ฌ f-string ๋ฌธ๋ฒ์ ๋ํด ๊ฐ๋จํ๊ฒ ์์๋ณด๊ฒ ์ต๋๋ค. f-string ์ด๋? f-string๋ ์ต๊ทผ์ ๋์จ ๋ฌธ์์ด ํฌ๋งทํ ๊ตฌ๋ฌธ์ผ๋ก์ formatted string literals์ด๋ผ๊ณ ๋ถ๋ฆ ๋๋ค. ๊ธฐ์กด์ % ํฌ๋งทํ ์ด๋ format ๋ฌธ์์ด ๊ตฌ๋ฌธ์ ์ฌ์ ํ ๊ฐ๋ ์ฑ์ ๋ฌธ์ ๊ฐ ์์์ต๋๋ค. name = 'Tony Park' major = 'Computer Science' city = 'Seoul' message = 'Hi, this is %s. My major is %s and I\'m living in %s.' %(name, major, city) print(message) # Hi, this is Tony Park. My major is Computer Science and I'm li..
SW ๊ฐ๋ฐ/Python
2021. 4. 20. 09:26