Solution Exercise 3: Python program that displays the maximum of two numbers

Exercise 3

Write a program in Python that asks the user to enter two numbers a and b and display their maximum, without using the max() function or any predefined function.

Solution




 

Younes Derfoufi
CRMEF OUJDA

1 thought on “Solution Exercise 3: Python program that displays the maximum of two numbers

Leave a Reply

Your email address will not be published. Required fields are marked *