From ee323e02583b75d35e7439025ed01683a5551943 Mon Sep 17 00:00:00 2001 From: zaiddx <72139621+zaiddx@users.noreply.github.com> Date: Thu, 1 Oct 2020 12:13:47 +0530 Subject: [PATCH] Update minimum_of_3.py I updated this file and now he will perfectly done i also fix some issue that makes program clear or attractive like use ":" or adding new scripts to help program to thinks about they are same value --- minimum_of_3.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/minimum_of_3.py b/minimum_of_3.py index e4179fa..1012ff9 100644 --- a/minimum_of_3.py +++ b/minimum_of_3.py @@ -1,9 +1,16 @@ -a = input("Enter first num") -b = input("Enter second num") -c = input("Enter third num") +a = input("Enter first num:") +b = input("Enter second num:") +c = input("Enter third num:") if a > c and b > c: print(str(c)+" is smallest.") elif a > b and c > b: print(str(b)+" is smallest.") -else: +elif b > a and c > a: print(str(a)+" is smallest.") +elif a == b and a == c: + print(str(a)+" is equal to b or c") +elif b == a and b = c: + print(str(b)+" is equal to a or c") +elif c == a and c == b: + print(str(c)+" is equal to b or a") +