syra.py

Created by baptistemulacarrere1g3

Created on March 18, 2021

124 Bytes

syra


from math import *
u=int(input('saisir u :'))
while(u>1):
  If u%2 ==0:
    u=u/2
  else:
    u=u*3-1
  print(u)