I wrote the code, but in the end it tells me that the solution is too long
def steps(number):
stop = True
count = 0
if number <1:
raise ValueError("Only positive integers are allowed")
while stop:
if number == 1:
stop = False
if number % 2 == 0:
number = number / 2
count + 1
if number % 2 != 0:
number = number * 3 + 1
count + 1
return count ```