Commit 35edfeb2 by BellCodeEditor

auto save

parent e16ae3e4
Showing with 10 additions and 19 deletions
username="xie"
userpassword="123456"
while True:
name=input()
password=input()
if name==username and password==userpassword:
print("登录成功")
break
print("账号或密码错误,请重新输入")
print("欢迎来到蛋仔派对")
print("""123134
4546654""")
\ No newline at end of file
n=int(input())
for i in range(n):
print(i,end="")
for j in range(i):
print(" ",end="")
for k in range((n-i)*2-1):
print("*",end="")
print()
\ No newline at end of file
for g in range(0,100):
for m in range(0,100):
for x in range(0,100):
if g+m+x==100 and 5*g+3*m+x*(1/3):
print("公鸡{}只,母鸡{}只,小鸡{}只".format(g,m,x))
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