Categorías
Desarrollo

Back to University :) !!!

Hello to all i wrote this code using the book The Little Book of Algorithms by @MrLauLearning, and i remember my first code challenges in university that i felt in that moment a long and hard way, but now 7 years later, i now that was hard and a long way, but very interesting and funny way i took.

def lower_run(num1, num2):        
    if( num1 < num2 ):        
        return num1    
    else:        
        return num2  
      
first_num = int(input("Enter the first number: "))
second_num = int(input("Enter the Second number: "))

lowest = lower_run(first_num,second_num)
print("The lowest number is "+str(lowest))

i’m getting back to check all the algorithms, i’m go to re-encounter with an amazing challenge and re-enforce my code i’ll write.

Diseña un sitio como este con WordPress.com
Comenzar