-
Notifications
You must be signed in to change notification settings - Fork 169
Strings methods: startswith()
#1049
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b90dd20
to
43eec45
Compare
@certik @czgdp1807 |
s = " empty" | ||
assert s.startswith(" ") == True | ||
assert " @" .startswith(" ") == True | ||
assert " emptyAaaaAABBbbbbBB" .startswith(s) == True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try giving something in the middle portion of the string such as AABB
in startswith
and see if it returns False
. Also give something like emptyAaaX
as input to startswith
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i added them and edit those corner cases in functions, i think it's ready now.
43eec45
to
c09f60f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. @certik Should we merge this?
Ah! Resolve the conflicts @Abdelrahman-Kh-Fouad. |
48f1261
to
10fde29
Compare
@czgdp1807 Done! |
No description provided.