Skip to content

Commit

Permalink
By Carlous
Browse files Browse the repository at this point in the history
  • Loading branch information
cponecp committed Jun 18, 2018
1 parent 48ef803 commit dfa1e76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 常用内置模块/guessNumber.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
if int(num)>pkNum:
print('比大','电脑出的数是:',pkNum,'你出的数是:',num, 'you win!')
else:
print("比大,电脑出的数是:", pkNum, '比你出的数%s小' % num, 'you lose')
print("比大,电脑出的数是:", pkNum, '比你出的数%s' % num, 'you lose')

else:
if int(num)<pkNum:
print('比小','电脑出的数是:',pkNum,'你出的数是:',num,'you win!')
else:
print("比大,电脑出的数是:", pkNum, '比你出的数%s小' % num, 'you lose')
print("比大,电脑出的数是:", pkNum, '比你出的数%s' % num, 'you lose')


else:
Expand Down

0 comments on commit dfa1e76

Please sign in to comment.