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

bellcode / lesson8-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 9accd71e authored 7 months ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 73cfff2b
Show whitespace changes
Inline Side-by-side
Showing with 5 additions and 6 deletions
  • quiz.py
  • t.py
quiz.py
View file @ 9accd71e
This diff is collapsed. Click to expand it.
t.py
View file @ 9accd71e
name={"海军":138,"林肯":123,"雷成海":134} dict={"可口可乐":3,"汉堡":6,"缺牙齿":1}
name["石头"]=100 k=input("你想要什么")
if "呼呼" in name: if k in dict:
print("在") print("你要的"+k+"是"+str(dict[k])+"元")
else: else:
print("不在") 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