The Python Bug report
Aug. 29, 2019
5:31 p.m.
Dear Python Team, I find a following issue in python string function.Kindly run the following example and check Example 1 txt = "Hello, welcome to my world." x = txt.find("l", 0, 4) print(x) Out put is 2------------------------------------------------------------------------Example 2 txt = "Hello, welcome to my world." x = txt.find("ll", 0, 4) print(x) Out put is 2 Conclusion: The my point of view is example 2 answer should be 1 because we find in example #2 'll' double l, so it should be 1
2423
Age (days ago)
2423
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zahid Ali