hey guys im trying to write html code in gocomics. if anyone wishes to help me, go ahead! im just doing this for fun, btw, not to harm anyone. here’s a python code too, just check it out. checks for the collatz conjecture:
def collatz(n): steps = 0 while n != 1: if n % 2 == 0: n = n // 2 else: n = 3 * n + 1 steps += 1 return steps
Example: check numbers up to 10000for i in range(1, 100000000000000000): print(f"Number {i} takes {collatz(i)} steps to reach 1")
i have pixel canvas code too. tell me if u want it :D