Home > other >  Python for 2
Python for 2

Time:05-05

 x=int (input ()) 
The count=0
While x % 2==0:
X/=2
Count +=1
Break
While x % 2!=0:
X=(3 * x + 1)/2
Count +=1
Break
While x==1:
Print (count)


Help you a great god, why do you write to output any value
  • Related