Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
n = 10
while n != 1:
print(n,)
if n % 2 == 0: # n is even
n = n / 2
else: # n is odd
n = n * 3 + 1
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!