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

bellcode / lesson2-5_DIY1

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

auto save

parent 8a018f24 c162580l760p219a8057/wx636731
Hide whitespace changes
Inline Side-by-side
Showing with 39 additions and 0 deletions
  • 8778o.py
  • foefwufeiwoefw.py
  • iyfiyfiy .py
  • wfewewef.py
8778o.py 0 → 100644
View file @ 177ea663
d=input("创造师你叫什么呀")
a=["UFO","iPad","MC"]
import random
b=random.choice(a)
print("恭喜你,幸运的创造师——"+d)
print("获得了"+b)
\ No newline at end of file
This diff is collapsed. Click to expand it.
foefwufeiwoefw.py 0 → 100644
View file @ 177ea663
a=input("请输入你的名字")
b=input("请输入你的成绩")
print(a+"的英语成绩是"+b)
\ No newline at end of file
This diff is collapsed. Click to expand it.
iyfiyfiy .py 0 → 100644
View file @ 177ea663
a1=input("指挥你认罪吗?请回答认罪或不认")
a2=input("柴可夫斯基你认罪吗?请回答认罪或不认")
if a1=="不认" or a1=="认罪" and a2=="不认" or a2=="认罪":
if a1=="不认" and a2=="不认":
print("你们都判3年")
elif a1=="认罪" and a=="认罪":
print("你们都判10年")
elif a1=="认罪" and a=="不认":
print("指挥判1年,柴可夫斯基判20年")
else:
print("指挥判20年,柴可夫斯基判1年")
else:
print("输入错误")
\ No newline at end of file
This diff is collapsed. Click to expand it.
wfewewef.py 0 → 100644
View file @ 177ea663
a=input("今天是星期几")
b=["星期一","星期二","星期三","星期四","星期五","星期六","星期七"]
if a in b:
if a=="星期一":
print("今天学习钢琴")
elif a=="星期三":
print("今天学习编程")
elif a=="星期六":
print("今天学习英语")
else:
print("今天学习国学")
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