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

Administrator / lesson9_2

  • 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
Commit 1c02e90f authored 11 months ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 7ff90f9c
Show whitespace changes
Inline Side-by-side
Showing with 8 additions and 2 deletions
  • diy2.py
diy2.py
View file @ 1c02e90f
...@@ -5,6 +5,11 @@ score = {'悟空':stuent1,'诺伊':stuent2,'小贝':stuent3} ...@@ -5,6 +5,11 @@ score = {'悟空':stuent1,'诺伊':stuent2,'小贝':stuent3}
name = input("名字: ") name = input("名字: ")
info = score[name] print("*"*30)
for k,v in info.items(): if name in score:
score = score[name]
for k,v in info.items():
print(k,v) print(k,v)
print("*"*30)
else:
print("错误")
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment