Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / lesson4_5

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • lesson4_5
  • cs.py
Find file
BlameHistoryPermalink
  • BellCodeEditor's avatar
    auto save · 089e104c
    BellCodeEditor committed 4 years ago
    089e104c
cs.py 186 Bytes
1 2 3 4 5 6 7 8 9
a=list(input("输入字符串:"))
while True:
    for i in range(len(a)):
        if a[i]>='0' and a[i]<='9':
            a.pop(i)
            break
    else:
        
print(a)