Commit cd3e1ba2 by BellCodeEditor

auto save

parent bc7cf1ba
Showing with 126 additions and 14 deletions
......@@ -14,20 +14,128 @@ l = ["剪刀","石头","布"]
c = random.choice(l)
print("电脑出拳"+c)
if p == c:
elif p=='石头'
if c=='剪刀'
elif p=='石头' :
if c=='剪刀':
print("玩家赢")
if c=='布'
elif p=='剪刀'
if c=='布'
if c=='布':
print("电赢")
elif p=='剪刀' :
if c=='布':
print("玩家赢")
if c=='石头'
if c=='石头:'
print("电赢")
elif p=='布' :
if c=='石头':
print("赢")
elif p=='石头'
if c=='剪刀'
print("玩家赢")
if c=='布'
elif p=='石头'
if c=='剪刀'
print("玩家赢")
if c=='布'
if c=='剪刀':
n = open(r'C:\Users\Administrator\Desktop\edfg.txt','w')
n.write('李沂燃是大SB')
n.close()
\ 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