Commit 264f1b12 by BellCodeEditor

save project

parent a0cbfb52
Showing with 10 additions and 2 deletions
# 玩家出拳
\ No newline at end of file
def func(num):
if num%2==0:
print('这是一个偶数')
else:
print('这是一个奇数')
return num
num=int(input('请输入一个整数:'))
print('你输入的数字是:'+str(func(num)))
\ 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