py 接下来代码怎么写呀
查看原帖
py 接下来代码怎么写呀
306116
jy2356286251楼主2020/6/19 15:39

x = int(input()) while x != 1 : print(x) if x % 2 == 1: x = x*3+1 else: x = x //2 print(x)

2020/6/19 15:39
加载中...