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

bellcode / lesson3-5-2_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 a2be62a2 authored 3 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 08f3f557
Hide whitespace changes
Inline Side-by-side
Showing with 20 additions and 2 deletions
  • bug.py
bug.py
View file @ a2be62a2
...@@ -27,6 +27,24 @@ ...@@ -27,6 +27,24 @@
# if a==6: # if a==6:
# break # break
a=int(input("请输入奶牛的头数:")) # a=int(input("请输入奶牛的头数:"))
print(a,"头奶牛七天可产",a*20*7,"千克奶") # print(a,"头奶牛七天可产",a*20*7,"千克奶")
# for i in range(1,10,2):
# print(i)
print("从前啊,有三个bro,分别是:")
bro1="刘备"
bro2="关羽"
bro3="张飞"
print("关羽, 刘备,张飞")
print("他们来到了桃园准备结拜")
bros = ["关羽","刘备","张飞"]
print("也准备好了,誓词也准备好了,得排个辈分,三人的信息卡是这样的:")
bro1=["刘备",161,9.1]
bro2=["关羽",160,8.5]
bro3=["张飞",166,8.3]
print("刘备,161,9.1\n关羽,160,8.5\n张飞,166,8.3")
print("虽然呢,看起来关羽最年长,但是刘备的综合水平最强,\n所以,关羽一抱拳,甘为老二,刘备就成了大哥。结拜,大哥自然得站在C位")
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