Silver Gamer

Generation

generate functionThu, 27 Apr 2023

crea una calculadora online para medir milenios siglos decadas lustros

def medir_tiempo(n): if n >= 1000: return '{} mil'.format(n/1000) elif n >= 100: return '{} cientos'.format(n/100) elif n >= 10: return '{} decadas'.format(n/10) elif n >= 5: return '{} lustros'.format(n/5) else: return '{} lustros'.format(n) medir_tiempo(10)

Want to kickstart your project?Use the new AI Studio to create your code