Commit f2c32330 by BellCodeEditor

auto save

parent 5ad4eddf
Showing with 10 additions and 0 deletions
...@@ -2,3 +2,12 @@ ...@@ -2,3 +2,12 @@
# 悟空做了个小程序帮助诺依,然而代码出现了3处错误。 # 悟空做了个小程序帮助诺依,然而代码出现了3处错误。
# 请你找出来,并运行~ # 请你找出来,并运行~
import random
sb=[0,1,2,3,4,5,6]
stonenumber=random.choice(sb)
if stonenumber >= 4:
print('sb,lj')
elif 1<= stonenumber <= 3:
print("cnm")
else:
print('md')
\ 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