Commit 15d94acf by BellCodeEditor

save project

parent 493c6c7c
Showing with 9 additions and 0 deletions
n=int(input("请输入一个数字"))
if n%3==0:
print(n**3)
if n%3==2:
print(n*2)
if n%3==1:
print(n+5)
\ 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