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

loader-image
Le prix initial était : € 11,00.Le prix actuel est : € 10,00.
Le prix initial était : € 6,00.Le prix actuel est : € 5,00.



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 *