๋ฐ์ํ
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
- github
- ๋ฐ์ดํฐ๋ถ์
- ์ฝํ
- AWS
- ๊นํ๋ธ
- ์์ฐ์ด์ฒ๋ฆฌ
- ํ๋ธ๋ฃจ
- ๋ฅ๋ฌ๋
- ํ ์คํธ๋ถ์
- ์ธ๊ณต์ง๋ฅ
- ์๋ง์กด์น์๋น์ค
- ์ฝ๋ฉํ ์คํธ
- ์๊ณ ๋ฆฌ์ฆ
- ๋ฆฌ์กํธ
- ํ ์คํธ๋ง์ด๋
- ํ์ด์ฌ
- ๋น ๋ฐ์ดํฐ
- ์๋ฐ์คํฌ๋ฆฝํธ
- abap
- erp
- ๋ฐ์ดํฐ ๋ถ์
- tableau
- ํ๋ธ๋ก
- ๋ฐฑ์ค
- AI
- Git
- react
- sap
- DFS
- nlp
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