I am trying to do a program that will do this
if the number <1000 multpily the number with 2 until its bigger than 1000
if the number >1000 multiply the number with 3 infinitely
x = input("the number")
while True:
if int(x) <1000:
x *= 2
print(int(x))
if int(x) >1000:
x *= 3
print(int(x))
but it only writes the number infinte times. Doesnt multiply it
i hope you understood my problem