This repository has been archived on 2025-12-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2024-09-20 14:17:13 +03:00

14 lines
290 B
Python

def smallest(a, b, c):
if a < b and a < c:
print(a)
elif b < a and b < c:
print(b)
else:
print(c)
x = float(input('Enter the first number: '))
y = float(input('Enter the second number: '))
z = float(input('Enter the third number: '))
smallest(x, y, z)