Skip to content

#58 Python strip()  #12

@LiuL0703

Description

@LiuL0703
a = " ll "
a.strip()  # "ll"
str = "0000000this is string example....wow!!!0000000";
print str.strip( '0' );        #this is string example....wow!!!

Python 判断列表是否为空 len(list)==0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions