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 7b798886 authored 4 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent c53f991a c9456l930p219a9934/wx368026
Show whitespace changes
Inline Side-by-side
Showing with 5 additions and 2 deletions
  • diy2.py
diy2.py
View file @ 7b798886
...@@ -3,9 +3,12 @@ s2 = {'语文':61,'数学':78,'英语':95} ...@@ -3,9 +3,12 @@ s2 = {'语文':61,'数学':78,'英语':95}
s3 = {'语文':41,'数学':68,'英语':75} s3 = {'语文':41,'数学':68,'英语':75}
score={"wk":s1,"w2":s2,"w3":s3} score={"wk":s1,"w2":s2,"w3":s3}
name=input("名字") name=input("名字")
a=score[name] if name in score:
for k,e in a.items(): a=score[name]
for k,e in a.items():
print(k,e) print(k,e)
else:
print("错")
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