Skip to content

Commit 07f6194

Browse files
authored
Update minimum.py
1 parent 792430d commit 07f6194

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

minimum.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
#take input from user
12
n1= int(input('First number: '))
23
n2= int(input('Second number: '))
34
n3= int(input('Third number: '))
45

5-
Lowest = min(n1, n2, n3)
6+
Lowest = min(n1, n2, n3) #Calculate the lowest value
67

7-
print('Lowest number among three numbers is: ', Lowest)
8+
print('Lowest number among three numbers is: ', Lowest) #print the number

0 commit comments

Comments
 (0)