Commit 2bbd5c55 by BellCodeEditor

save project

parent 32a429e4
Showing with 57 additions and 6 deletions
# 下面的这段代码一共有5处错误,每一行都有一种典型的语法错误,请修改~
for i in range(1,8)
print'克洛诺斯将第' + str(i) + '个孩子吞进肚子里'
if i = 5:
break
print('第6个孩子宙斯逃过一劫。)
\ No newline at end of file
#for i in range(1,8)
#print('克洛诺斯将第' + str(i) + '个孩子吞进肚子里')
#if i = 5:
#break
#print('第6个孩子宙斯逃过一劫。)
#stonenumber = 5
#if stonenumber >= 4:
#print('草泥马')
#elif 1<=stonenumber <= 3:
#print('空间和客户')
#else:
#print('发生的快乐和')
scores = {'语':999,'数':997,'英':998}
#def get_average(scores):
# sum_score = 0
# for subject, score in scores.items():
# sum_score += score
# print('客服电话你是%d'%sum_score)
# ave_score = sum_score/len(scores)
# print('开发低价%d'%ave_score)
# get_average(scores)
today_menu={'1':{'2':1}}
for k,v in today_menu.items():
print('得分' + k + '人: ')
for i in v:
print(i,end='')
print()
\ No newline at end of file
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