Loading

String ends with?

Instructions
Complete the solution so that it returns true if the first argument(string) passed in ends with the 2nd argument (also a string).
Solutions

def solution(string, ending):
    return string.endswith(ending)
posted @ 2023-03-30 11:27  Artwalker  阅读(11)  评论(0编辑  收藏  举报
Live2D