Compare commits

..

No commits in common. "15bdf848b6002e1769d87a1fe0c3eece7c51418d" and "e70ffbfdd87938babc74902c92e00c5ba84f2a91" have entirely different histories.

2 changed files with 0 additions and 14 deletions

View File

@ -1 +0,0 @@
input("提示:")

View File

@ -1,13 +0,0 @@
def jiaogu(n):
if n==1:
print("END")
return 1
if n%2==0:
print(n,"/",2,"=",n//2,sep="")
jiaogu(n//2)
else:
print(n, "*", 3, "+",1,"=", n*3+1, sep="")
jiaogu(n*3+1)
n=int(input())
jiaogu(n)