ch01_ex121_3_prof.py

Created by manuel-2de-indice2019

Created on October 09, 2019

156 Bytes


def bou(n):
    b=0
    while n!=20:
        b=b+1
        if n<20:
            n=2*n
        else:
            n=n-4
    return(b)