We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9af726b commit 6244f27Copy full SHA for 6244f27
1 file changed
Data_Structure_In_Python/String/StringMethods.md
@@ -11,7 +11,7 @@ Following are the most common used method for strings are
11
Example:
12
```python
13
text="hello"
14
-result=txt.capitalize()
+result=text.capitalize()
15
print(result)
16
#Result:Hello
17
```
@@ -211,7 +211,7 @@ print(newstring)
211
212
213
mystring="is he is was he in too is"
214
-newstring=stat.replace('is','was' ,2)
+newstring=mystring.replace('is','was' ,2)
215
print(newstring)
216
#Result: "was he was was he in too is"
217
@@ -265,7 +265,7 @@ number="63663"
265
res=number.isdigit()
266
print(res)
267
268
-#result : Tries
+#result : True
269
270
271
### Other some remaining methods
0 commit comments