![SOLVED: str = "This is a string" pos = str.find("1") while pos >= 0: str = str[:pos] + "i" + str[pos+1:len(str)] pos = str.find("1") print(str) SOLVED: str = "This is a string" pos = str.find("1") while pos >= 0: str = str[:pos] + "i" + str[pos+1:len(str)] pos = str.find("1") print(str)](https://cdn.numerade.com/ask_images/fc3d6f14641a406f9498299329a0ceb1.jpg)
SOLVED: str = "This is a string" pos = str.find("1") while pos >= 0: str = str[:pos] + "i" + str[pos+1:len(str)] pos = str.find("1") print(str)
![TURCK PKG 4M-5-PSG 4M Cordset, Str M8 Female 4 pos to Str M8 Male 4 pos, 4x26AWG 5m, PVC 2 A, 125 VAC/VDC, 105 C : Amazon.ca: Industrial & Scientific TURCK PKG 4M-5-PSG 4M Cordset, Str M8 Female 4 pos to Str M8 Male 4 pos, 4x26AWG 5m, PVC 2 A, 125 VAC/VDC, 105 C : Amazon.ca: Industrial & Scientific](https://m.media-amazon.com/images/I/31ApqpPbzSL._AC_UF894,1000_QL80_.jpg)
TURCK PKG 4M-5-PSG 4M Cordset, Str M8 Female 4 pos to Str M8 Male 4 pos, 4x26AWG 5m, PVC 2 A, 125 VAC/VDC, 105 C : Amazon.ca: Industrial & Scientific
![php tutorial - PHP strpos Function - php programming - learn php - php code - php script - wikitechy php tutorial - PHP strpos Function - php programming - learn php - php code - php script - wikitechy](https://www.wikitechy.com/php/img/php-images/code-explanation-php-strpos-function.png)