#์˜ค๋Š˜์˜ ํŒŒ์ด์ฌ #1์ผ1์˜คํŒŒ #ํŒŒ์ด์ฌ # python

๋งค์ผ ์˜ค์ „10์‹œ ์—…๋กœ๋“œ, Dacon Daily Python Camp. 1์ผ1์˜คํŒŒ ๊ฒฉํŒŒํ•˜๊ธฐ!

  • moneyIcon Prize : ๊ต์œก
  • 30Team D-101398

ย 

06/04 ๐Ÿ“– ํŒŒ์ด์ฌ ๋ฌธ์ž์—ด ํ•จ์ˆ˜ - (1)

2021.06.04 09:54 1,265 Views

์ •๋‹ต

str1.replace('stop','change')



ํ•ด์„ค

๋ฌธ์ž์—ด์˜ replace ํ•จ์ˆ˜๋Š” replace(๋ฐ”๋€Œ๊ฒŒ ๋  ๋ฌธ์ž์—ด, ๋ฐ”๊ฟ€ ๋ฌธ์ž์—ด) ์ˆœ์œผ๋กœ ์‚ฌ์šฉ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋กœ๊ทธ์ธ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค
0 / 1000